Open correct camera floater from camera presets pulldown
parent
e616579902
commit
adfc8ec1ce
|
|
@ -146,5 +146,9 @@ void LLPanelPresetsCameraPulldown::onViewButtonClick(const LLSD& user_data)
|
|||
// close the minicontrol, we're bringing up the big one
|
||||
setVisible(FALSE);
|
||||
|
||||
LLFloaterReg::toggleInstanceOrBringToFront("camera");
|
||||
// <FS:Ansariel> Optional small camera floater
|
||||
//LLFloaterReg::toggleInstanceOrBringToFront("camera");
|
||||
std::string floater_name = gSavedSettings.getBOOL("FSUseSmallCameraFloater") ? "fs_camera_small" : "camera";
|
||||
LLFloaterReg::toggleInstanceOrBringToFront(floater_name);
|
||||
// </FS:Ansariel>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue