EXT-5851 EXT-5422 crash on texture upload

Uploading texture caused the dummy avatar preview to initialize its joints twice
removing extra call to initInstance removed the crash in LLJoint.
Verified repro no longer crashes viewer.

Code reviewed by Vir.
master
Nyx (Neal Orman) 2010-03-18 15:26:17 -04:00
parent 3fa23202b3
commit bffe4b185d
1 changed files with 0 additions and 1 deletions

View File

@ -611,7 +611,6 @@ LLImagePreviewAvatar::LLImagePreviewAvatar(S32 width, S32 height) : LLViewerDyna
mCameraZoom = 1.f;
mDummyAvatar = (LLVOAvatar*)gObjectList.createObjectViewer(LL_PCODE_LEGACY_AVATAR, gAgent.getRegion());
mDummyAvatar->initInstance();
mDummyAvatar->createDrawable(&gPipeline);
mDummyAvatar->mIsDummy = TRUE;
mDummyAvatar->mSpecialRenderMode = 2;