diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-13 17:54:39 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-13 17:54:39 -0500 |
commit | 4a61efdee973e58e021e4c1564ed5c33e750f92f (patch) | |
tree | 278ffe8a303a081a326f4bfa7f92f75006b19e0b /indra | |
parent | 27f11d9868bc72e7096ae6266af1c6c9318c545e (diff) |
fixed bad line endings
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 007f6ee3ed..7b71598b81 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -3663,11 +3663,11 @@ BOOL LLModelPreview::render() F32 explode = mFMP->childGetValue("physics_explode").asReal(); glClear(GL_DEPTH_BUFFER_BIT); -
- LLRect preview_rect = mFMP->getChildView("preview_panel")->getRect();
- F32 aspect = (F32) preview_rect.getWidth()/preview_rect.getHeight();
-
- LLViewerCamera::getInstance()->setAspect(aspect);
+ + LLRect preview_rect = mFMP->getChildView("preview_panel")->getRect(); + F32 aspect = (F32) preview_rect.getWidth()/preview_rect.getHeight(); + + LLViewerCamera::getInstance()->setAspect(aspect); LLViewerCamera::getInstance()->setView(LLViewerCamera::getInstance()->getDefaultFOV() / mCameraZoom); |