Fix #121410: Prevent diffing of Scene's tool settings.
This is a bit of a hack hammer to solve a specific issue, but it is not really clear to my currently why some of these tool settings get invalid data. On the other end, not sure that it would make any sense to consider these 'runtime' data for liboverrides anyway.
This commit is contained in:
@@ -8876,6 +8876,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
||||
/* Tool Settings */
|
||||
prop = RNA_def_property(srna, "tool_settings", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_pointer_sdna(prop, nullptr, "toolsettings");
|
||||
RNA_def_property_struct_type(prop, "ToolSettings");
|
||||
RNA_def_property_ui_text(prop, "Tool Settings", "");
|
||||
|
||||
Reference in New Issue
Block a user