Fix T65028: Eye icon not toggle-able from the outliner for linked objects
This commit is contained in:
parent
c935921091
commit
d8f096406b
Notes:
blender-bot
2023-02-14 09:09:43 +01:00
Referenced by issue #65080, Assert on editor split while dragging to resize
|
@ -411,6 +411,7 @@ static void rna_def_object_base(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "hide_viewport", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BASE_HIDDEN);
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC);
|
||||
RNA_def_property_ui_icon(prop, ICON_HIDE_OFF, -1);
|
||||
RNA_def_property_ui_text(prop, "Hide in Viewport", "Temporarily hide in viewport");
|
||||
|
|
Loading…
Reference in New Issue