Revision: 21903
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21903
Author:   dingto
Date:     2009-07-25 23:33:43 +0200 (Sat, 25 Jul 2009)

Log Message:
-----------
2.5:

* Fixed a typo in User preferences. 

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

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/space_info.py
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c

Modified: branches/blender2.5/blender/release/ui/space_info.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_info.py        2009-07-25 
21:33:16 UTC (rev 21902)
+++ branches/blender2.5/blender/release/ui/space_info.py        2009-07-25 
21:33:43 UTC (rev 21903)
@@ -440,7 +440,7 @@
                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:")

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c      
2009-07-25 21:33:16 UTC (rev 21902)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c      
2009-07-25 21:33:43 UTC (rev 21903)
@@ -362,19 +362,19 @@
        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 @@
        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");
        


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

Reply via email to