Revision: 51355
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51355
Author:   campbellbarton
Date:     2012-10-15 23:17:24 +0000 (Mon, 15 Oct 2012)
Log Message:
-----------
code cleanup: picky rna naming convention

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py       
2012-10-15 23:11:59 UTC (rev 51354)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py       
2012-10-15 23:17:24 UTC (rev 51355)
@@ -248,7 +248,7 @@
         col.prop(view, "show_splash")
 
         if os.name == "nt":
-            col.prop(view, "quit_dialog")
+            col.prop(view, "use_quit_dialog")
 
 
 class USERPREF_PT_edit(Panel):

Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c  2012-10-15 
23:11:59 UTC (rev 51354)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c  2012-10-15 
23:17:24 UTC (rev 51355)
@@ -2510,7 +2510,7 @@
        RNA_def_property_ui_text(prop, "Sub Level Menu Open Delay",
                                 "Time delay in 1/10 seconds before 
automatically opening sub level menus");
 
-       prop = RNA_def_property(srna, "quit_dialog", PROP_BOOLEAN, PROP_NONE);
+       prop = RNA_def_property(srna, "use_quit_dialog", PROP_BOOLEAN, 
PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_QUIT_PROMPT);
        RNA_def_property_ui_text(prop, "Prompt Quit",
                                 "Asks for confirmation when quitting through 
the window close button");
@@ -2745,7 +2745,7 @@
        RNA_def_property_boolean_sdna(prop, NULL, "autokey_flag", 
AUTOKEY_FLAG_INSERTAVAIL);
        RNA_def_property_ui_text(prop, "Auto Keyframe Insert Available",
                                 "Automatic keyframe insertion in available 
F-Curves");
-                                                        
+
        prop = RNA_def_property(srna, "use_auto_keying_warning", PROP_BOOLEAN, 
PROP_NONE);
        RNA_def_property_boolean_negative_sdna(prop, NULL, "autokey_flag", 
AUTOKEY_FLAG_NOWARNING);
        RNA_def_property_ui_text(prop, "Show Auto Keying Warning",
@@ -2783,7 +2783,7 @@
        RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", 
USER_NONEGFRAMES);
        RNA_def_property_ui_text(prop, "Allow Negative Frames",
                                 "Current frame number can be manually set to a 
negative value");
-                                                        
+
        /* fcurve opacity */
        prop = RNA_def_property(srna, "fcurve_unselected_alpha", PROP_FLOAT, 
PROP_FACTOR);
        RNA_def_property_float_sdna(prop, NULL, "fcu_inactive_alpha");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to