diff options
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r-- | source/blender/editors/util/undo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index e8c4edf3d57..f0e8184b991 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -156,9 +156,10 @@ static int ed_undo_step(bContext *C, int step, const char *undoname) if(do_glob_undo) { if(U.uiflag & USER_GLOBALUNDO) { -#ifdef WITH_PYTHON + // note python defines not valid here anymore. + //#ifdef WITH_PYTHON // XXX BPY_scripts_clear_pyobjects(); -#endif + //#endif if(undoname) BKE_undo_name(C, undoname); else |