2.5:
authorThomas Dinges <blender@dingto.org>
Sat, 25 Jul 2009 21:33:43 +0000 (21:33 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 25 Jul 2009 21:33:43 +0000 (21:33 +0000)
* Fixed a typo in User preferences.

* Add a use_ prefix for some projection paint booleans in RNA.

release/ui/space_info.py
source/blender/makesrna/intern/rna_scene.c

index 5ff8609f32df6b7a818414338fa182d89693e4c7..9d72aa7c5e91f103da6954de5302a02766f7fba8 100644 (file)
@@ -440,7 +440,7 @@ class INFO_PT_system(bpy.types.Panel):
                colsplitcol.itemL(text="OpenGL:")
                colsplitcol.itemR(system, "clip_alpha", slider=True)
                colsplitcol.itemR(system, "use_mipmaps")
-               colsplitcol.itemL(text="Windom Draw Method:")
+               colsplitcol.itemL(text="Window Draw Method:")
                row = colsplitcol.row()
                row.itemR(system, "window_draw_method", expand=True)
                colsplitcol.itemL(text="Textures:")
index ea1e04d41b77206f2b71b7cc4caf8dba0316997c..1d712fbd88d2410cbd2201e0f0e086bb049f8d29 100644 (file)
@@ -362,19 +362,19 @@ static void rna_def_tpaint(BlenderRNA  *brna)
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_DISABLE);
        RNA_def_property_ui_text(prop, "Project Paint", "Use projection painting for improved consistency in the brush strokes");
        
-       prop= RNA_def_property(srna, "occlude", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_occlude", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_XRAY);
        RNA_def_property_ui_text(prop, "Occlude", "Only paint onto the faces directly under the brush (slower)");
        
-       prop= RNA_def_property(srna, "cull", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_cull", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_BACKFACE);
        RNA_def_property_ui_text(prop, "Cull", "Ignore faces pointing away from the view (faster)");
        
-       prop= RNA_def_property(srna, "normal", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_normal", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_FLAT);
        RNA_def_property_ui_text(prop, "Normal", "Paint most on faces pointing towards the view");
        
-       prop= RNA_def_property(srna, "stencil_layer", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_stencil_layer", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_MASK);
        RNA_def_property_ui_text(prop, "Stencil Layer", "Set the mask layer from the UV layer buttons");
        
@@ -382,7 +382,7 @@ static void rna_def_tpaint(BlenderRNA  *brna)
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_MASK_INV);
        RNA_def_property_ui_text(prop, "Invert", "Invert the mask");
        
-       prop= RNA_def_property(srna, "clone_layer", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_clone_layer", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_CLONE);
        RNA_def_property_ui_text(prop, "Clone Layer", "Use another UV layer as clone source, otherwise use 3D the cursor as the source");