From f8d4a2817ec8bfabffb991db4da3927b0f004a40 Mon Sep 17 00:00:00 2001 From: Beq Date: Wed, 19 Jun 2024 09:55:55 +0100 Subject: [PATCH] FIRE-34064 - Bounding Box preset does not propogate. --- indra/newview/llmodelpreview.cpp | 1 - indra/newview/llmodelpreview.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index a11e24cfb5..39f0d16ff8 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -467,7 +467,6 @@ void LLModelPreview::rebuildUploadData() { assert_main_thread(); - mDefaultPhysicsShapeP = NULL; mUploadData.clear(); mTextureSet.clear(); diff --git a/indra/newview/llmodelpreview.h b/indra/newview/llmodelpreview.h index 8aa4235e97..272caf644a 100644 --- a/indra/newview/llmodelpreview.h +++ b/indra/newview/llmodelpreview.h @@ -246,7 +246,7 @@ private: /// It is set only when the user chooses a physics shape file that contains a mesh with a name that matches DEFAULT_PHYSICS_MESH_NAME. /// It is reset when such a name is not found, and when resetting the modelpreview. /// Not read unless mWarnOfUnmatchedPhyicsMeshes is true. - LLPointer mDefaultPhysicsShapeP; + LLPointer mDefaultPhysicsShapeP{nullptr}; typedef enum {