forked from bartvdbraak/blender
Fix #20377: object layer and modifier realtime setting are now editable
again on library linked objects. The former is ok because it is actually the scene data being edited, the latter will not be saved to file but is useful..
This commit is contained in:
parent
87a5ce06f3
commit
d612fdcdec
@ -2030,6 +2030,7 @@ void RNA_def_modifier(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "realtime", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", eModifierMode_Realtime);
|
||||
RNA_def_property_ui_text(prop, "Realtime", "Realtime display of a modifier.");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
||||
RNA_def_property_ui_icon(prop, ICON_RESTRICT_VIEW_OFF, 0);
|
||||
|
||||
|
@ -1458,6 +1458,7 @@ static void rna_def_object(BlenderRNA *brna)
|
||||
RNA_def_property_array(prop, 20);
|
||||
RNA_def_property_ui_text(prop, "Layers", "Layers the object is on.");
|
||||
RNA_def_property_boolean_funcs(prop, NULL, "rna_Object_layer_set");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, "rna_Object_layer_update");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user