This patch makes sure that a variable is removed the MathVis item list right after it was removed
in the console. The patch uses the MathVis console hook VarStates:store_states()
Details
Details
- Reviewers
Campbell Barton (campbellbarton)
Diff Detail
Diff Detail
- Repository
- rBA Blender Add-ons
- Branch
- master
- Build Status
Buildable 16665 Build 16665: arc lint + arc unit
Event Timeline
Comment Actions
When a variable is removed from the console, then MathVis is not updated correctly.
This patch makes sure that a variable is removed the MathVis item list right after it was removed
in the console. The patch uses the MathVis console hook VarStates:store_states()
| space_view3d_math_vis/utils.py | ||
|---|---|---|
| 54 ↗ | (On Diff #41187) | This loop should be reversed, since removing multiple items won't work as expected if there are more than one index to remove. |
Comment Actions
Fixed order of removal in the MathVis element list
for correct deletion when multiple vars have been
dropped in the console.