Blender Git Commit Log

Git Commits -> Revision 184b5fd

Revision 184b5fd by Campbell Barton (master)
October 31, 2010, 14:43 (GMT)
bugfix [#24466] Selecting of object with pattern leads to strange behavior
The undo problem was caused by python operators returning 'RUNNING_MODAL' rather then the return value from wm.invoke_props_popup(self, event) - 'FINISHED'.

This was done because returning FINISHED would free the operator causing the buttons redo handler to try and run a freed operator and crash.

So the real fix is to disallow any operators to use wm.invoke_props_popup(self, event) if they dont have the REGISTER option enabled, fixing the crash and redo problem.

Commit Details:

Full Hash: 184b5fd6db4dfedb5c436ca1021bbe52df289a32
SVN Revision: 32796
Parent Commit: 391c547
Lines Changed: +23, -15

5 Modified Paths:

/release/scripts/op/object.py (+1, -3) (Diff)
/release/scripts/op/presets.py (+2, -5) (Diff)
/release/scripts/op/wm.py (+2, -5) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+16, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021