From ad67f1899cf4452a4fcbf55cd7ecc80d3fec1856 Mon Sep 17 00:00:00 2001 From: vyacheslavsproductengine Date: Tue, 25 Aug 2015 17:24:24 +0400 Subject: MAINT-5064 FIXED (Mesh upload attempt causes viewer crash) (replacing BBox generation) --- indra/newview/llfloatermodelpreview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llfloatermodelpreview.h') diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index 618748bd4e..813e49305b 100755 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -342,6 +342,7 @@ public: void loadModel(std::string filename, S32 lod, bool force_disable_slm = false); void loadModelCallback(S32 lod); void genLODs(S32 which_lod = -1, U32 decimation = 3, bool enforce_tri_limit = false); + void genModelBBox(); // Generate just a model BBox if we can't generate proper LOD void generateNormals(); void restoreNormals(); U32 calcResourceCost(); @@ -422,6 +423,7 @@ private: U32 mLoadState; bool mResetJoints; bool mRigParityWithScene; + bool mHasBrokenModel; std::map mViewOption; -- cgit v1.2.3