summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-01 12:36:26 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-01 12:37:20 +0300
commit9a645004601d00b1d131e3083bda46ed7cf58011 (patch)
tree169b78401fc4fea1b195829b4d425a9069592d62
parentf3806a4a05238230c5bf7ffe408d63bd662cb73c (diff)
SL-15159 Start with 'weights' on, but not with preview joints
Original purpose of this code was to enable 'weights upload' if model has weights, preview was made to match this behavior, but previewing joints is expensive to init (genBuffers) and causes a freeze, so let users finish setting lods first, they can turn on preview later
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index a9e80ab5da..252fb7ec98 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -2811,8 +2811,6 @@ BOOL LLModelPreview::render()
{
// auto enable weight upload if weights are present
// (note: all these UI updates need to be somewhere that is not render)
- mViewOption["show_skin_weight"] = true;
- skin_weight = true;
fmp->childSetValue("upload_skin", true);
mFirstSkinUpdate = false;
}