summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-24 20:50:57 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-24 20:51:07 +0300
commitaa014a65e76a1312dee82de38dc8d73b64e7a8b5 (patch)
tree2d2206e09661b60ebe015c359a2b35c5e0a35a91 /indra/newview/llmodelpreview.cpp
parent3cc83b2e37e0e4695410ee10d622e69ce642b7cb (diff)
SL-13123 Bind shape matrix orientation warning is misbehaving
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 6de88b318a..dbb2c162a3 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -599,6 +599,10 @@ void LLModelPreview::rebuildUploadData()
setLoadState(LLModelLoader::WARNING_BIND_SHAPE_ORIENTATION);
}
}
+ else if (getLoadState() == LLModelLoader::WARNING_BIND_SHAPE_ORIENTATION)
+ {
+ setLoadState(LLModelLoader::DONE);
+ }
}
instance.mTransform = mat;
mUploadData.push_back(instance);