LibOverride: Tag all embedded IDs RNA opinters as overridable.
Followup to previous commit, rBfffe219bdb8drBfffe219bdb8d Again this is only for sake of sane ID/overrides managment for now, the nodetrees themselves are not overridable from user PoV yet.
This commit is contained in:
parent
fffe219bdb
commit
e5f8db92b6
|
@ -849,7 +849,6 @@ void RNA_def_material(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "node_tree", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "nodetree");
|
||||
RNA_def_property_clear_flag(prop, PROP_PTR_NO_OWNERSHIP);
|
||||
/* XXX: remove once overrides in material node trees are supported. */
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Node Tree", "Node tree for node based materials");
|
||||
|
||||
|
|
|
@ -7664,6 +7664,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "node_tree", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "nodetree");
|
||||
RNA_def_property_clear_flag(prop, PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Node Tree", "Compositing node tree");
|
||||
|
||||
prop = RNA_def_property(srna, "use_nodes", PROP_BOOLEAN, PROP_NONE);
|
||||
|
@ -7895,6 +7896,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "master_collection");
|
||||
RNA_def_property_struct_type(prop, "Collection");
|
||||
RNA_def_property_clear_flag(prop, PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Collection",
|
||||
"Scene root collection that owns all the objects and other collections "
|
||||
|
|
Loading…
Reference in New Issue