bugfix [#25230] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 Dec 2010 04:06:19 +0000 (04:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 Dec 2010 04:06:19 +0000 (04:06 +0000)
commitacd7b81c2d3fa7828d28c1562fad10663d911783
tree5258424d0be22e177fd8019a295740c882e7cfa6
parentff6e631c86aa934da09db03e9505d5b060007fac
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.
build_files/cmake/cmake_consistency_check.py
intern/ghost/intern/GHOST_SystemWin32.cpp
source/blender/editors/include/ED_util.h
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/editors/util/undo.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_operators.c