Page MenuHome

blender 2.8 crash on redoing 'snap to cursor' with Offset option ON
Closed, ResolvedPublic

Description

windows 10 & Nividia GeForce GTX 1050

blender-2.80.0-git.53c63db-windows64

crush

press Shift S to snap object, chsose "selection to cursor" and than in the floating panel try cheking the "offset"

Event Timeline

Bastien Montagne (mont29) renamed this task from blender 2.8 crush to blender 2.8 crash on redoing 'snap to cursor' with Offset option ON.Jul 24 2018, 3:55 PM
Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.

Depsgraph from given operator’s context is not yet fully rebuilt (its scene_cow is NULL) when the operator is re-run… still trying to understand this deeper.

Proposed fix is to force rebuild/refresh of depsgraph after undo step, and before redoing the operator, in ED_undo_operator_repeat(), see P759. @Sergey Sharybin (sergey), @Campbell Barton (campbellbarton), does this looks OK to you?