[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24090] trunk/blender/source/blender/ makesrna/intern/rna_userdef.c: Compile fix.
Thomas Dinges
dingto at gmx.de
Mon Oct 26 13:30:28 CET 2009
Revision: 24090
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24090
Author: dingto
Date: 2009-10-26 13:30:28 +0100 (Mon, 26 Oct 2009)
Log Message:
-----------
Compile fix.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_userdef.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2009-10-26 12:06:14 UTC (rev 24089)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2009-10-26 12:30:28 UTC (rev 24090)
@@ -2247,12 +2247,7 @@
{
PropertyRNA *prop;
StructRNA *srna;
-
- srna= RNA_def_struct(brna, "UserPreferencesInput", NULL);
- RNA_def_struct_sdna(srna, "UserDef");
- RNA_def_struct_nested(brna, srna, "UserPreferences");
- RNA_def_struct_ui_text(srna, "Input", "Settings for input devices.");
-
+
static EnumPropertyItem select_mouse_items[] = {
{USER_LMOUSESELECT, "LEFT", 0, "Left", "Use left Mouse Button for selection."},
{0, "RIGHT", 0, "Right", "Use Right Mouse Button for selection."},
@@ -2273,6 +2268,11 @@
{USER_ZOOM_DOLLY, "DOLLY", 0, "Dolly", "Zooms in and out based on vertical mouse movement."},
{USER_ZOOM_SCALE, "SCALE", 0, "Scale", "Zooms in and out like scaling the view, mouse movements relative to center."},
{0, NULL, 0, NULL, NULL}};
+
+ srna= RNA_def_struct(brna, "UserPreferencesInput", NULL);
+ RNA_def_struct_sdna(srna, "UserDef");
+ RNA_def_struct_nested(brna, srna, "UserPreferences");
+ RNA_def_struct_ui_text(srna, "Input", "Settings for input devices.");
prop= RNA_def_property(srna, "middle_mouse", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
More information about the Bf-blender-cvs
mailing list