Fix #111711: bone collection visibility cannot be overridden #111775

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:111711 into main 2023-09-02 10:38:30 +02:00
1 changed files with 2 additions and 0 deletions

View File

@ -1964,6 +1964,8 @@ static void rna_def_bonecollection(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, nullptr, "flags", BONE_COLLECTION_VISIBLE);
RNA_def_property_ui_text(
prop, "Visible", "Bones in this collection will be visible in pose/object mode");
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, nullptr);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);