2.5:
* Fixed a typo in User preferences. * Add a use_ prefix for some projection paint booleans in RNA.
This commit is contained in:
@@ -440,7 +440,7 @@ class INFO_PT_system(bpy.types.Panel):
|
|||||||
colsplitcol.itemL(text="OpenGL:")
|
colsplitcol.itemL(text="OpenGL:")
|
||||||
colsplitcol.itemR(system, "clip_alpha", slider=True)
|
colsplitcol.itemR(system, "clip_alpha", slider=True)
|
||||||
colsplitcol.itemR(system, "use_mipmaps")
|
colsplitcol.itemR(system, "use_mipmaps")
|
||||||
colsplitcol.itemL(text="Windom Draw Method:")
|
colsplitcol.itemL(text="Window Draw Method:")
|
||||||
row = colsplitcol.row()
|
row = colsplitcol.row()
|
||||||
row.itemR(system, "window_draw_method", expand=True)
|
row.itemR(system, "window_draw_method", expand=True)
|
||||||
colsplitcol.itemL(text="Textures:")
|
colsplitcol.itemL(text="Textures:")
|
||||||
|
|||||||
@@ -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_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");
|
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_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)");
|
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_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_BACKFACE);
|
||||||
RNA_def_property_ui_text(prop, "Cull", "Ignore faces pointing away from the view (faster)");
|
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_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_FLAT);
|
||||||
RNA_def_property_ui_text(prop, "Normal", "Paint most on faces pointing towards the view");
|
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_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");
|
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_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_MASK_INV);
|
||||||
RNA_def_property_ui_text(prop, "Invert", "Invert the mask");
|
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_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");
|
RNA_def_property_ui_text(prop, "Clone Layer", "Use another UV layer as clone source, otherwise use 3D the cursor as the source");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user