summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-28 15:37:32 +0200
committerAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-28 22:20:28 +0200
commitee07a128b16ca824bfede96cb3acd7716900a8e7 (patch)
tree298f5667783ab71b7922d7895486178c0d29ce87
parent0acf91559868de2929c7104cf5f11a5f7e3ce2f1 (diff)
SL-20361 Avoid of ASSERT (false) in check_rigged_group()
-rw-r--r--indra/newview/llspatialpartition.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 7721e20738..532da98e86 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -1616,6 +1616,7 @@ void pushVertsColorCoded(LLSpatialGroup* group, U32 mask)
// - a linked rigged drawable face has the wrong draw order index
bool check_rigged_group(LLDrawable* drawable)
{
+#if 0
if (drawable->isState(LLDrawable::RIGGED))
{
LLSpatialGroup* group = drawable->getSpatialGroup();
@@ -1663,7 +1664,7 @@ bool check_rigged_group(LLDrawable* drawable)
}
}
}
-
+#endif
return true;
}