LibOverride: Make nodetree of material overrideable again.
This reverts rB6899dbef77cd and makes the pointer explicitely processable by override & diffing code. Previous changes & fixes have fixed the 'driver-workaround' case afaict. Note that this only enables proper generic handling of overrides and their ID pointers, no node property is actually overridable currently.
This commit is contained in:
@@ -850,7 +850,7 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
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_IGNORE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Node Tree", "Node tree for node based materials");
|
||||
|
||||
prop = RNA_def_property(srna, "use_nodes", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user