summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewanim.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-27 22:44:47 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-27 22:44:47 +0300
commite611a30fe742dbae02d20062532ca92473da9bed (patch)
tree36ba084c22f962f2e7a5aa272226c3772a5ed122 /indra/newview/llpreviewanim.h
parent54a80085d75f2e286b29c708ae08d5f1e401ce0d (diff)
SL-14076 Fix motion preloading
Diffstat (limited to 'indra/newview/llpreviewanim.h')
-rw-r--r--indra/newview/llpreviewanim.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/indra/newview/llpreviewanim.h b/indra/newview/llpreviewanim.h
index ebeee367f7..14cd53b500 100644
--- a/indra/newview/llpreviewanim.h
+++ b/indra/newview/llpreviewanim.h
@@ -38,16 +38,18 @@ class LLPreviewAnim : public LLPreview
public:
LLPreviewAnim(const LLSD& key);
- /*virtual*/ BOOL postBuild();
- /*virtual*/ void onClose(bool app_quitting);
- void draw();
- void cleanup();
+ BOOL postBuild() override;
+ void onClose(bool app_quitting) override;
+ void draw() override;
+ void refreshFromItem() override;
+
+ void cleanup(); // cleanup 'playing' state
void play(const LLSD& param);
void showAdvanced();
protected:
- LLUUID mItemID;
+ LLUUID mItemID; // Not an item id, but a playing asset id
bool mDidStart;
LLMotion* pMotion;
LLTextBox* pAdvancedStatsTextBox;