[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49010] branches/soc-2012-bratwurst/source /blender/makesrna/intern/rna_userdef.c: Update the 3d view after the floating controls option is changed.
Jorge Rodriguez
bs.vino at gmail.com
Tue Jul 17 22:56:01 CEST 2012
Revision: 49010
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49010
Author: vino
Date: 2012-07-17 20:56:01 +0000 (Tue, 17 Jul 2012)
Log Message:
-----------
Update the 3d view after the floating controls option is changed.
Modified Paths:
--------------
branches/soc-2012-bratwurst/source/blender/makesrna/intern/rna_userdef.c
Modified: branches/soc-2012-bratwurst/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/makesrna/intern/rna_userdef.c 2012-07-17 20:40:12 UTC (rev 49009)
+++ branches/soc-2012-bratwurst/source/blender/makesrna/intern/rna_userdef.c 2012-07-17 20:56:01 UTC (rev 49010)
@@ -2872,6 +2872,7 @@
prop = RNA_def_property(srna, "floating_controls", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, floating_control_modes);
RNA_def_property_ui_text(prop, "", "Position of the floating controls in the 3D view");
+ RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
}
static void rna_def_userdef_system(BlenderRNA *brna)
More information about the Bf-blender-cvs
mailing list