[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37561] trunk/blender/source/blender/ editors/space_outliner/outliner.c: Small todo item: outliner display actions were sending undo pushes, not needed
Ton Roosendaal
ton at blender.org
Thu Jun 16 19:14:39 CEST 2011
Revision: 37561
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37561
Author: ton
Date: 2011-06-16 17:14:38 +0000 (Thu, 16 Jun 2011)
Log Message:
-----------
Small todo item: outliner display actions were sending undo pushes, not needed
for UI stuff.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_outliner/outliner.c
Modified: trunk/blender/source/blender/editors/space_outliner/outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner.c 2011-06-16 16:13:26 UTC (rev 37560)
+++ trunk/blender/source/blender/editors/space_outliner/outliner.c 2011-06-16 17:14:38 UTC (rev 37561)
@@ -1763,7 +1763,7 @@
ot->exec= outliner_toggle_expanded_exec;
ot->poll= ED_operator_outliner_active;
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+ /* no undo or registry, UI option */
}
/* --- */
@@ -1798,7 +1798,7 @@
ot->exec= outliner_toggle_selected_exec;
ot->poll= ED_operator_outliner_active;
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+ /* no undo or registry, UI option */
}
/* --- */
@@ -1855,7 +1855,7 @@
ot->exec= outliner_one_level_exec;
ot->poll= ED_operator_outliner_active;
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+ /* no undo or registry, UI option */
/* properties */
RNA_def_boolean(ot->srna, "open", 1, "Open", "Expand all entries one level deep.");
@@ -3050,7 +3050,7 @@
ot->exec= outliner_show_hierarchy_exec;
ot->poll= ED_operator_outliner_active; // TODO: shouldn't be allowed in RNA views...
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+ /* no undo or registry, UI option */
}
void outliner_select(SpaceOops *soops, ListBase *lb, int *index, short *selecting)
More information about the Bf-blender-cvs
mailing list