diff options
| author | Howard Stearns <howard.stearns@gmail.com> | 2022-02-04 14:13:19 -0800 | 
|---|---|---|
| committer | Howard Stearns <howard.stearns@gmail.com> | 2022-02-04 14:13:19 -0800 | 
| commit | ca43cc2305502ec4f6a8d75ea2e4303b655ff0ce (patch) | |
| tree | d2dd4f531be53e3ab53d994b4439bf26b0843086 /indra/newview | |
| parent | f1df486208f94c649f09dc2dc0cce393208d3771 (diff) | |
SL-98 - Remove special new tab-specific display behavior
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llfloatermodelpreview.h | 1 | ||||
| -rw-r--r-- | indra/newview/llmodelpreview.cpp | 5 | 
3 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 165adf4644..64b24d54c3 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -270,7 +270,6 @@ BOOL LLFloaterModelPreview::postBuild()      LLPanel *panel = mTabContainer->getPanelByName("rigging_panel");      mAvatarTabIndex = mTabContainer->getIndexForPanel(panel);      panel->getChild<LLScrollListCtrl>("joints_list")->setCommitCallback(boost::bind(&LLFloaterModelPreview::onJointListSelection, this)); -    mPhysicsTabIndex = mTabContainer->getIndexForPanel(mTabContainer->getPanelByName("physics_panel"));  	if (LLConvexDecomposition::getInstance() != NULL)  	{ diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index bb2b00351f..8a01b0c307 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -231,7 +231,6 @@ private:  	LLTabContainer* mTabContainer;  	S32			mAvatarTabIndex; // just to avoid any issues in case of xml changes -	S32			mPhysicsTabIndex;  	std::string	mSelectedJointName;  	joint_override_data_map_t mJointOverrides[LLModel::NUM_LODS]; diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index 8e487484fd..f12ddb1745 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -3404,10 +3404,7 @@ BOOL LLModelPreview::render()                  {                      gDebugProgram.bind();                  } -                if (fmp->mTabContainer->getCurrentPanelIndex() == fmp->mPhysicsTabIndex) -                {  // Physics collision volumes obscure a lot, so only show them when on the physics tab. -                    getPreviewAvatar()->renderCollisionVolumes(); -                } +                getPreviewAvatar()->renderCollisionVolumes();                  if (fmp->mTabContainer->getCurrentPanelIndex() == fmp->mAvatarTabIndex)                  {                      getPreviewAvatar()->renderBones(fmp->mSelectedJointName);  | 
