diff options
Diffstat (limited to 'indra/newview/llcontrolavatar.h')
-rw-r--r-- | indra/newview/llcontrolavatar.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llcontrolavatar.h b/indra/newview/llcontrolavatar.h index bb54cc5b2d..5cca0ab9dd 100644 --- a/indra/newview/llcontrolavatar.h +++ b/indra/newview/llcontrolavatar.h @@ -46,11 +46,20 @@ public: void recursiveScaleJoint(LLJoint *joint, F32 factor); static LLControlAvatar *createControlAvatar(LLVOVolume *obj); + // Delayed kill so we don't make graphics pipeline unhappy calling + // markDead() inside other graphics pipeline operations. + void markForDeath(); + + virtual void idleUpdate(LLAgent &agent, const F64 &time); + bool mPlaying; F32 mGlobalScale; LLVOVolume *mRootVolp; + + bool mMarkedForDeath; + }; #endif //LL_CONTROLAVATAR_H |