diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-12-08 21:24:02 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-12-08 21:24:02 -0800 |
commit | 1be5133116c7e63bc621a4017bedaebf557c83db (patch) | |
tree | d9985d5fea5a7e04466605d9db7916e7010f4b20 /indra/newview/llmeshrepository.h | |
parent | be1fd73390cab288c75ef99e704f3aa195a0c4ac (diff) |
SH-541 - Physics mesh display shows inconsistent data.
The object UI was allowing the user to set 'prim' physics for meshes for which
no user physics had been uploaded, or decomposed. It defaulted to convex hull in that case.
The fix is to fix the UI to disallow 'prim' for meshes without physics meshes, limiting
those to only convex hull and none.
We will also redo the task validation to detect invalid states related to this as part
of the 'redo the validation' work
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r-- | indra/newview/llmeshrepository.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h index df00c6c7aa..8687ac750b 100644 --- a/indra/newview/llmeshrepository.h +++ b/indra/newview/llmeshrepository.h @@ -458,7 +458,8 @@ public: const LLMeshSkinInfo* getSkinInfo(const LLUUID& mesh_id); const LLMeshDecomposition* getDecomposition(const LLUUID& mesh_id); void fetchPhysicsShape(const LLUUID& mesh_id); - + bool hasPhysicsShape(const LLUUID& mesh_id); + void buildHull(const LLVolumeParams& params, S32 detail); const LLSD& getMeshHeader(const LLUUID& mesh_id); |