Blender Git Loki
Git Commits -> Revision 1c314aa
Revision 1c314aa by Antonis Ryakiotakis (master) May 18, 2013, 15:24 (GMT) |
Fix for #35373, calling any paint operator from operator search menu with mouse crashes blender. Issue here is that paint operator invocation, immediately calls modal, which checks if event is the same as initialization event plus keyup. Since using the mouse on amenu calls the operator on mouse button up, the operator ended immediately and that cause immediate cleanup and crash, Worked around this by forbidding the operator to finish on first modal call (which is expected by all the asserts on invoke anyway). This prevents the crash but requires an extra up event to end. Also, ported part of Jason Wilkins' patch to stroke code to allow for stroke sampling to be done before a dab is first performed and as soon as the stroke begins |
Commit Details:
Full Hash: 1c314aae73342995bf47622bc48b518f8d71b402
SVN Revision: 56901
Parent Commit: eaf493d
Lines Changed: +23, -17
1 Modified Path:
/source/blender/editors/sculpt_paint/paint_stroke.c (+23, -17) (Diff)