diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp index 73b7fa7c9c..eaacb6704f 100644 --- a/indra/newview/llfloatercamera.cpp +++ b/indra/newview/llfloatercamera.cpp @@ -754,6 +754,10 @@ void LLFloaterCamera::updateItemsSelection() getChild("group_view")->setValue(argument); argument["selected"] = (preset == CAMERA_PRESET_FRONT_VIEW) && !sFreeCamera; getChild("front_view")->setValue(argument); +// Third Person Perspective camera + argument["selected"] = (preset == CAMERA_PRESET_TPP_VIEW) && !sFreeCamera; + getChild("tpp_view")->setValue(argument); +// argument["selected"] = gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK; getChild("mouselook_view")->setValue(argument); argument["selected"] = mCurrMode == CAMERA_CTRL_MODE_FREE_CAMERA; diff --git a/indra/newview/skins/ansastorm/xui/en/floater_camera.xml b/indra/newview/skins/ansastorm/xui/en/floater_camera.xml index fede8909aa..6eea845370 100644 --- a/indra/newview/skins/ansastorm/xui/en/floater_camera.xml +++ b/indra/newview/skins/ansastorm/xui/en/floater_camera.xml @@ -20,7 +20,7 @@ title="Camera Controls" chrome="true" save_rect="true" - width="340"> + width="360"> Rotate Camera Around Focus @@ -167,7 +167,7 @@ left_pad="2" name="buttons_panel" top_delta="18" - width="120"> + width="140"> + + + + + + width="136"> + width="80"> @@ -295,7 +308,7 @@ left_pad="3" name="save_btn" top_delta="0" - width="70"> + width="80"> diff --git a/indra/newview/skins/ansastorm/xui/pl/floater_camera.xml b/indra/newview/skins/ansastorm/xui/pl/floater_camera.xml index 8e03199c8b..b0fcd6aa0d 100644 --- a/indra/newview/skins/ansastorm/xui/pl/floater_camera.xml +++ b/indra/newview/skins/ansastorm/xui/pl/floater_camera.xml @@ -28,6 +28,7 @@ + diff --git a/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_Off.png b/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_Off.png new file mode 100644 index 0000000000..7c4c498126 Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_Off.png differ diff --git a/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_On.png b/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_On.png new file mode 100644 index 0000000000..315d26a021 Binary files /dev/null and b/indra/newview/skins/default/textures/bottomtray/Cam_Preset_TPP_On.png differ diff --git a/indra/newview/skins/default/textures/textures.xml b/indra/newview/skins/default/textures/textures.xml index f72ee8694b..f72efb9fb2 100644 --- a/indra/newview/skins/default/textures/textures.xml +++ b/indra/newview/skins/default/textures/textures.xml @@ -118,6 +118,11 @@ with the same filename but different name + + + + + diff --git a/indra/newview/skins/default/xui/en/floater_camera.xml b/indra/newview/skins/default/xui/en/floater_camera.xml index a0c73f4d64..6f40fccc6e 100644 --- a/indra/newview/skins/default/xui/en/floater_camera.xml +++ b/indra/newview/skins/default/xui/en/floater_camera.xml @@ -22,8 +22,8 @@ save_visibility="true" show_title="false" single_instance="true" - width="150" - min_width="135"> + width="170" + min_width="155"> Rotate Camera Around Focus @@ -43,7 +43,7 @@ layout="topleft" left="2" name="buttons_panel" - width="120" + width="140" top_pad="-5"> + + + + + + width="133"> @@ -302,7 +313,7 @@ mouse_opaque="true" name="preset_combo" top_pad="0" - width="113"> + width="133"> + width="165" + min_width="165"> Rotate Camera Around Focus @@ -60,7 +60,7 @@ free_mode_title name="zoom" follows="all" top="25" - width="150"> + width="160"> + width="76"> + + + + + + + + "" + + + top_pad="1"> @@ -115,9 +115,8 @@ + top_pad="1"> @@ -131,12 +130,30 @@ Rear View + + + + + + TPP View + + @@ -146,8 +163,8 @@ value="default" />