aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateranimpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloateranimpreview.cpp')
-rw-r--r--linden/indra/newview/llfloateranimpreview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloateranimpreview.cpp b/linden/indra/newview/llfloateranimpreview.cpp
index 1ea0495..317636e 100644
--- a/linden/indra/newview/llfloateranimpreview.cpp
+++ b/linden/indra/newview/llfloateranimpreview.cpp
@@ -1038,6 +1038,8 @@ BOOL LLPreviewAnimation::render()
1038{ 1038{
1039 mNeedsUpdate = FALSE; 1039 mNeedsUpdate = FALSE;
1040 LLVOAvatar* avatarp = mDummyAvatar; 1040 LLVOAvatar* avatarp = mDummyAvatar;
1041
1042 gGL.start();
1041 1043
1042 glMatrixMode(GL_PROJECTION); 1044 glMatrixMode(GL_PROJECTION);
1043 gGL.pushMatrix(); 1045 gGL.pushMatrix();
@@ -1108,7 +1110,6 @@ BOOL LLPreviewAnimation::render()
1108 avatarPoolp->renderAvatars(avatarp); // renders only one avatar 1110 avatarPoolp->renderAvatars(avatarp); // renders only one avatar
1109 } 1111 }
1110 1112
1111 gGL.start();
1112 return TRUE; 1113 return TRUE;
1113} 1114}
1114 1115