correction:
- added WM_operator_repeat_check to check if WM_operator_repeat() can
run, avoids an undo call when redo * WON'T * work.


On Wed, Dec 15, 2010 at 4:06 AM, Campbell Barton <[email protected]> wrote:
> Revision: 33675
>          
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33675
> Author:   campbellbarton
> Date:     2010-12-15 05:06:19 +0100 (Wed, 15 Dec 2010)
>
> Log Message:
> -----------
> 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.
>
> Modified Paths:
> --------------
>    trunk/blender/build_files/cmake/cmake_consistency_check.py
>    trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
>    trunk/blender/source/blender/editors/include/ED_util.h
>    trunk/blender/source/blender/editors/space_view3d/view3d_buttons.c
>    trunk/blender/source/blender/editors/space_view3d/view3d_toolbar.c
>    trunk/blender/source/blender/editors/util/undo.c
>    trunk/blender/source/blender/windowmanager/WM_api.h
>    trunk/blender/source/blender/windowmanager/intern/wm_event_system.c
>    trunk/blender/source/blender/windowmanager/intern/wm_operators.c
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to