summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-07-02 18:02:28 -0500
committerDave Parks <davep@lindenlab.com>2013-07-02 18:02:28 -0500
commit930de04f51212195a2c7a877d235d4106f4d37e2 (patch)
tree0686b0e365286a3826baadc0682fa25ec7745644 /indra/newview/lldrawable.cpp
parent418c8a72c875b30d1e0746422afa3caaa809e37b (diff)
NORSPEC-287 Make alpha sRGB correction curves match OpenGL spec.
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rwxr-xr-xindra/newview/lldrawable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 8c9fd4152a..2a333157f2 100755
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -527,6 +527,8 @@ void LLDrawable::makeStatic(BOOL warning_enabled)
}
updatePartition();
}
+
+ llassert(isAvatar() || isRoot() || mParent->isStatic());
}
// Returns "distance" between target destination and resulting xfrom