diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llmorphview.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llmorphview.cpp')
-rw-r--r-- | linden/indra/newview/llmorphview.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/linden/indra/newview/llmorphview.cpp b/linden/indra/newview/llmorphview.cpp index 404534b..6a592e6 100644 --- a/linden/indra/newview/llmorphview.cpp +++ b/linden/indra/newview/llmorphview.cpp | |||
@@ -80,16 +80,6 @@ LLMorphView::LLMorphView(const std::string& name, const LLRect& rect) | |||
80 | { | 80 | { |
81 | } | 81 | } |
82 | 82 | ||
83 | EWidgetType LLMorphView::getWidgetType() const | ||
84 | { | ||
85 | return WIDGET_TYPE_MORPH_VIEW; | ||
86 | } | ||
87 | |||
88 | LLString LLMorphView::getWidgetTag() const | ||
89 | { | ||
90 | return LL_MORPH_VIEW_TAG; | ||
91 | } | ||
92 | |||
93 | //----------------------------------------------------------------------------- | 83 | //----------------------------------------------------------------------------- |
94 | // initialize() | 84 | // initialize() |
95 | //----------------------------------------------------------------------------- | 85 | //----------------------------------------------------------------------------- |
@@ -110,8 +100,8 @@ void LLMorphView::initialize() | |||
110 | avatarp->mSpecialRenderMode = 3; | 100 | avatarp->mSpecialRenderMode = 3; |
111 | 101 | ||
112 | // set up camera for close look at avatar | 102 | // set up camera for close look at avatar |
113 | mOldCameraNearClip = gCamera->getNear(); | 103 | mOldCameraNearClip = LLViewerCamera::getInstance()->getNear(); |
114 | gCamera->setNear(MORPH_NEAR_CLIP); | 104 | LLViewerCamera::getInstance()->setNear(MORPH_NEAR_CLIP); |
115 | } | 105 | } |
116 | 106 | ||
117 | //----------------------------------------------------------------------------- | 107 | //----------------------------------------------------------------------------- |
@@ -127,7 +117,7 @@ void LLMorphView::shutdown() | |||
127 | avatarp->startMotion( ANIM_AGENT_BODY_NOISE ); | 117 | avatarp->startMotion( ANIM_AGENT_BODY_NOISE ); |
128 | avatarp->mSpecialRenderMode = 0; | 118 | avatarp->mSpecialRenderMode = 0; |
129 | // reset camera | 119 | // reset camera |
130 | gCamera->setNear(mOldCameraNearClip); | 120 | LLViewerCamera::getInstance()->setNear(mOldCameraNearClip); |
131 | } | 121 | } |
132 | } | 122 | } |
133 | 123 | ||