diff options
Diffstat (limited to 'linden/indra/newview/llfloateranimpreview.cpp')
-rw-r--r-- | linden/indra/newview/llfloateranimpreview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloateranimpreview.cpp b/linden/indra/newview/llfloateranimpreview.cpp index 890cfd2..82729e9 100644 --- a/linden/indra/newview/llfloateranimpreview.cpp +++ b/linden/indra/newview/llfloateranimpreview.cpp | |||
@@ -46,7 +46,7 @@ | |||
46 | #include "llcombobox.h" | 46 | #include "llcombobox.h" |
47 | #include "lldrawable.h" | 47 | #include "lldrawable.h" |
48 | #include "lldrawpoolavatar.h" | 48 | #include "lldrawpoolavatar.h" |
49 | #include "llglimmediate.h" | 49 | #include "llrender.h" |
50 | #include "llface.h" | 50 | #include "llface.h" |
51 | #include "llkeyframemotion.h" | 51 | #include "llkeyframemotion.h" |
52 | #include "lllineeditor.h" | 52 | #include "lllineeditor.h" |
@@ -1135,6 +1135,7 @@ BOOL LLPreviewAnimation::render() | |||
1135 | if (avatarp->mDrawable.notNull()) | 1135 | if (avatarp->mDrawable.notNull()) |
1136 | { | 1136 | { |
1137 | LLDrawPoolAvatar *avatarPoolp = (LLDrawPoolAvatar *)avatarp->mDrawable->getFace(0)->getPool(); | 1137 | LLDrawPoolAvatar *avatarPoolp = (LLDrawPoolAvatar *)avatarp->mDrawable->getFace(0)->getPool(); |
1138 | avatarp->dirtyMesh(); | ||
1138 | avatarPoolp->renderAvatars(avatarp); // renders only one avatar | 1139 | avatarPoolp->renderAvatars(avatarp); // renders only one avatar |
1139 | } | 1140 | } |
1140 | 1141 | ||