[Bf-blender-cvs] [d8f096406b2] master: Fix T65028: Eye icon not toggle-able from the outliner for linked objects

Dalai Felinto noreply at git.blender.org
Fri May 24 16:04:08 CEST 2019


Commit: d8f096406b27cb1d24a633546e777de3a35434f5
Author: Dalai Felinto
Date:   Fri May 24 10:25:05 2019 -0300
Branches: master
https://developer.blender.org/rBd8f096406b27cb1d24a633546e777de3a35434f5

Fix T65028: Eye icon not toggle-able from the outliner for linked objects

===================================================================

M	source/blender/makesrna/intern/rna_layer.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c
index cae59fc1285..55009aa660d 100644
--- a/source/blender/makesrna/intern/rna_layer.c
+++ b/source/blender/makesrna/intern/rna_layer.c
@@ -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");



More information about the Bf-blender-cvs mailing list