Blender Git Commit Log

Git Commits -> Revision 9059ee8

Revision 9059ee8 by Campbell Barton (master)
February 26, 2021, 05:32 (GMT)
Fix particle-edit crash on undo/redo

Undo/redo was crashing & asserting.

There ware two bugs:

- Entering particle system edit-mode requires an evaluated depsgraph.

- The active object could get out of sync when undo/redo
moves between different modes.

The new test 'view3d_mesh_particle_edit_mode_simple'
in `tests/ui_simulate/test_undo.py` exposes both issues.

Commit Details:

Full Hash: 9059ee81ef6be5c1eb6157db426165f5a9c2b74a
Parent Commit: b7939a0
Lines Changed: +17, -3

3 Modified Paths:

/source/blender/editors/physics/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/physics/particle_edit.c (+3, -0) (Diff)
/source/blender/editors/physics/particle_edit_undo.c (+13, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021