Maniphest T55791

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

Assigned To
Bastien Montagne (mont29)
Authored By
Arye Ramaty (BelgaratTheGrey)
Jul 6 2018, 10:52 AM
Tags
  • BF Blender: 2.8
Subscribers
Antonio Vazquez (antoniov)
Arye Ramaty (BelgaratTheGrey)
Bastien Montagne (mont29)
Campbell Barton (campbellbarton)
Jesse Yurkovich (deadpin)
Sergey Sharybin (sergey)
Tommaso (Spore)

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"

Revisions and Commits

rB Blender

Event Timeline

Arye Ramaty (BelgaratTheGrey) created this task.Jul 6 2018, 10:52 AM
Vuk Gardašević (lijenstina) edited projects, added BF Blender: 2.8; removed BF Blender.Jul 6 2018, 2:34 PM
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.
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).
Bastien Montagne (mont29) merged a task: T56069: crash 2.8 selection to cursor .Jul 26 2018, 11:36 AM
Bastien Montagne (mont29) mentioned this in T56048: Crash with a bone snap in Edit mode.
Bastien Montagne (mont29) added subscribers: Tommaso (Spore), Jesse Yurkovich (deadpin).
Bastien Montagne (mont29) added a comment.Jul 31 2018, 8:26 PM

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.

Antonio Vazquez (antoniov) added a subscriber: Antonio Vazquez (antoniov).Jul 31 2018, 10:33 PM

We have a similar issue in T56180

Bastien Montagne (mont29) added subscribers: Sergey Sharybin (sergey), Campbell Barton (campbellbarton).Aug 1 2018, 10:53 AM

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?

Bastien Montagne (mont29) added a comment.Aug 2 2018, 4:57 PM

Updated P759 after talking with @ßergey and @Campbell Barton (campbellbarton)

Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved by committing rB56fd63e1ad4f: Fix T55791: blender 2.8 crash on redoing 'snap to cursor' with Offset option ON..Aug 3 2018, 10:26 AM
Bastien Montagne (mont29) added a commit: rB56fd63e1ad4f: Fix T55791: blender 2.8 crash on redoing 'snap to cursor' with Offset option ON..