UserDef: Add experimental flag for 3d texturing brush.
This only adds a experimental flag to enable the 3d texturing brush, so future developments could check. Currently the flag does nothing as no functionality of the 3d texturing brush has been implemented.
This commit is contained in:
parent
a818a0f427
commit
3ce6c5adfc
|
@ -2261,6 +2261,7 @@ class USERPREF_PT_experimental_new_features(ExperimentalPanel, Panel):
|
|||
context, (
|
||||
({"property": "use_sculpt_vertex_colors"}, "T71947"),
|
||||
({"property": "use_sculpt_tools_tilt"}, "T82877"),
|
||||
({"property": "use_sculpt_texture_paint"}, "T96225"),
|
||||
({"property": "use_select_nearest_on_first_click"}, "T96752"),
|
||||
({"property": "use_extended_asset_browser"}, ("project/view/130/", "Project Page")),
|
||||
({"property": "use_override_templates"}, ("T73318", "Milestone 4")),
|
||||
|
|
|
@ -652,7 +652,8 @@ typedef struct UserDef_Experimental {
|
|||
char use_named_attribute_nodes;
|
||||
char use_select_nearest_on_first_click;
|
||||
char enable_eevee_next;
|
||||
// char _pad[0];
|
||||
char use_sculpt_texture_paint;
|
||||
char _pad[7];
|
||||
/** `makesdna` does not allow empty structs. */
|
||||
} UserDef_Experimental;
|
||||
|
||||
|
|
|
@ -6408,6 +6408,10 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(
|
||||
prop, "Sculpt Mode Tilt Support", "Support for pen tablet tilt events in Sculpt Mode");
|
||||
|
||||
prop = RNA_def_property(srna, "use_sculpt_texture_paint", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "use_sculpt_texture_paint", 1);
|
||||
RNA_def_property_ui_text(prop, "Sculpt Texture Paint", "Use texture painting in Sculpt Mode");
|
||||
|
||||
prop = RNA_def_property(srna, "use_extended_asset_browser", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Extended Asset Browser",
|
||||
|
|
Loading…
Reference in New Issue