Fix for broken mesh upload, courtesy of Rye Mutt from Alchemy Viewer
parent
89720cdb59
commit
d820dc2e6c
|
|
@ -2731,6 +2731,7 @@ bool LLDAELoader::loadModelsFromDomMesh(domMesh* mesh, std::vector<LLModel*>& mo
|
|||
// </FS:Beq>
|
||||
next->getVolumeFaces() = remainder;
|
||||
next->mNormalizedScale = ret->mNormalizedScale;
|
||||
next->mNormalizedTranslation = ret->mNormalizedTranslation; // <FS> Mesh upload fix by Rye Mutt
|
||||
|
||||
if ( ret->mMaterialList.size() > LL_SCULPT_MESH_MAX_FACES)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ const int MODEL_NAMES_LENGTH = sizeof(model_names) / sizeof(std::string);
|
|||
LLModel::LLModel(LLVolumeParams& params, F32 detail)
|
||||
: LLVolume(params, detail),
|
||||
mNormalizedScale(1,1,1),
|
||||
mNormalizedTranslation(0, 0, 0), // <FS> Mesh upload fix by Rye Mutt
|
||||
mPelvisOffset( 0.0f ),
|
||||
mStatus(NO_ERRORS),
|
||||
mSubmodelID(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue