aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawable.cpp')
-rw-r--r--linden/indra/newview/lldrawable.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawable.cpp b/linden/indra/newview/lldrawable.cpp
index 0f89585..5e4aafc 100644
--- a/linden/indra/newview/lldrawable.cpp
+++ b/linden/indra/newview/lldrawable.cpp
@@ -951,6 +951,9 @@ BOOL LLDrawable::isVisible() const
951 return TRUE; 951 return TRUE;
952 } 952 }
953 953
954#if 0
955 //disabling this code fixes DEV-20105. Leaving in place in case some other bug pops up as a a result.
956 //should be safe to just always ask the spatial group for visibility.
954 if (isActive()) 957 if (isActive())
955 { 958 {
956 if (isRoot()) 959 if (isRoot())
@@ -973,6 +976,7 @@ BOOL LLDrawable::isVisible() const
973 } 976 }
974 } 977 }
975 else 978 else
979#endif
976 { 980 {
977 LLSpatialGroup* group = getSpatialGroup(); 981 LLSpatialGroup* group = getSpatialGroup();
978 if (group && group->isVisible()) 982 if (group && group->isVisible())