Merge remote-tracking branch 'origin/blender-v4.0-release'
This commit is contained in:
@@ -932,6 +932,7 @@ static void rna_def_bonecolor(BlenderRNA *brna)
|
||||
RNA_def_property_enum_items(prop, rna_enum_color_palettes_items);
|
||||
RNA_def_property_enum_funcs(prop, nullptr, "rna_BoneColor_palette_index_set", nullptr);
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Color Set", "Color palette to use");
|
||||
RNA_def_property_update(prop, 0, "rna_BoneColor_update");
|
||||
|
||||
@@ -947,6 +948,7 @@ static void rna_def_bonecolor(BlenderRNA *brna)
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_struct_type(prop, "ThemeBoneColorSet");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Custom", "The custom bone colors, used when palette is 'CUSTOM'");
|
||||
RNA_def_property_update(prop, 0, "rna_BoneColor_update");
|
||||
|
||||
@@ -1162,6 +1162,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "color", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "BoneColor");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
|
||||
/* transform locks */
|
||||
prop = RNA_def_property(srna, "lock_location", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -3945,17 +3945,20 @@ static void rna_def_userdef_theme_colorset(BlenderRNA *brna)
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Regular", "Color used for the surface of bones");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
|
||||
prop = RNA_def_property(srna, "select", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
RNA_def_property_float_sdna(prop, nullptr, "select");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Select", "Color used for selected bones");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Active", "Color used for active bones");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
|
||||
prop = RNA_def_property(srna, "show_colored_constraints", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "flag", TH_WIRECOLOR_CONSTCOLS);
|
||||
|
||||
Reference in New Issue
Block a user