[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32052] trunk/blender/source/blender/ editors/space_outliner/outliner.c: Fix [#23944] Missing update of 3D view when toggling visibility of object in outliner with keyboard
Nathan Letwory
nathan at letworyinteractive.com
Wed Sep 22 08:58:51 CEST 2010
Revision: 32052
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32052
Author: jesterking
Date: 2010-09-22 08:58:51 +0200 (Wed, 22 Sep 2010)
Log Message:
-----------
Fix [#23944] Missing update of 3D view when toggling visibility of object in outliner with keyboard
Reported and patched by Torsten Rupp (patch [#23895])
Also fixed typo in toggle visibility operator name
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 2010-09-22 05:32:39 UTC (rev 32051)
+++ trunk/blender/source/blender/editors/space_outliner/outliner.c 2010-09-22 06:58:51 UTC (rev 32052)
@@ -1573,13 +1573,15 @@
ED_region_tag_redraw(ar);
+ WM_event_add_notifier(C, NC_SCENE|ND_OB_SELECT, scene);
+
return OPERATOR_FINISHED;
}
void OUTLINER_OT_visibility_toggle(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Toggle Visability";
+ ot->name= "Toggle Visibility";
ot->idname= "OUTLINER_OT_visibility_toggle";
ot->description= "Toggle the visibility of selected items";
More information about the Bf-blender-cvs
mailing list