diff options
-rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index d7a285c666..68373981df 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -2492,7 +2492,7 @@ U32 LLModelPreview::calcResourceCost() F32 debug_scale = mFMP ? mFMP->childGetValue("import_scale").asReal() : 1.f; mPelvisZOffset = mFMP ? mFMP->childGetValue("pelvis_offset").asReal() : 3.0f; -
+ if ( mFMP && mFMP->childGetValue("upload_joints").asBoolean() ) { gAgentAvatarp->setPelvisOffset( mPelvisZOffset ); |