Blender Git Loki

Git Commits -> Revision acd7b81

Revision acd7b81 by Campbell Barton (master)
December 15, 2010, 04:06 (GMT)
bugfix [#25230] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.

Problem is is with operator redo which click-extrude exposed.

Check if redo operator can run, otherwise lock the UI and add a label that the operator doesn't support redo.
This is clunky but IMHO better then failing silently and leaving the user confused.

- Merged redo functions into ED_undo_operator_repeat(), code was duplicated in a few places.
- added WM_operator_repeat_check to check if WM_operator_repeat() can run, avoids an undo call when redo work.

Unrelated changes
- GHOST_SystemWin32.cpp set to utf8 encoding.
- cmake_consistency_check.py now checks source files are utf8.

Commit Details:

Full Hash: acd7b81c2d3fa7828d28c1562fad10663d911783
SVN Revision: 33675
Parent Commit: ff6e631
Lines Changed: +98, -69

9 Modified Paths:

/build_files/cmake/cmake_consistency_check.py (+13, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+1, -1) (Diff)
/source/blender/editors/include/ED_util.h (+5, -1) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+1, -21) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+8, -33) (Diff)
/source/blender/editors/util/undo.c (+52, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+9, -13) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021