[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60683] trunk/blender/source/blender/ editors/interface/interface.c: Fix [#37039] Resize lists by new grab handles puts file into unsaved state.
Bastien Montagne
montagne29 at wanadoo.fr
Fri Oct 11 14:50:20 CEST 2013
Revision: 60683
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60683
Author: mont29
Date: 2013-10-11 12:50:19 +0000 (Fri, 11 Oct 2013)
Log Message:
-----------
Fix [#37039] Resize lists by new grab handles puts file into unsaved state.
Simply do not enable undo for LISTBOX buttons (the same as ROUNDBOX & co). Many thanks to Campbell who did all the work here!
Modified Paths:
--------------
trunk/blender/source/blender/editors/interface/interface.c
Modified: trunk/blender/source/blender/editors/interface/interface.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface.c 2013-10-11 02:23:20 UTC (rev 60682)
+++ trunk/blender/source/blender/editors/interface/interface.c 2013-10-11 12:50:19 UTC (rev 60683)
@@ -2874,7 +2874,7 @@
}
/* keep track of UI_interface.h */
- if (ELEM8(but->type, BLOCK, BUT, LABEL, PULLDOWN, ROUNDBOX, BUTM, SCROLL, SEPR)) {}
+ if (ELEM9(but->type, BLOCK, BUT, LABEL, PULLDOWN, ROUNDBOX, LISTBOX, BUTM, SCROLL, SEPR)) {}
else if (but->type >= SEARCH_MENU) {}
else but->flag |= UI_BUT_UNDO;
More information about the Bf-blender-cvs
mailing list