Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm
# Conflicts: # indra/llui/llfloaterreg.h # indra/llwindow/llwindowsdl2.cpp # indra/newview/llpathfindingnavmesh.cppmeow-7.2.2
commit
79b2fa85d9
|
|
@ -118,7 +118,18 @@ public:
|
|||
static bool destroyInstance(std::string_view name, const LLSD& key = LLSD());
|
||||
|
||||
// Iterators
|
||||
// <FS> ignore dangling reference false positives in gcc13
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdangling-reference"
|
||||
#endif
|
||||
// </FS>
|
||||
static const_instance_list_t& getFloaterList(std::string_view name);
|
||||
// <FS> ignore dangling reference false positives in gcc13
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
// </FS>
|
||||
|
||||
// Visibility Management
|
||||
// [RLVa:KB] - Checked: 2012-02-07 (RLVa-1.4.5) | Added: RLVa-1.4.5
|
||||
|
|
|
|||
|
|
@ -139,7 +139,18 @@ void LLPathfindingNavMesh::handleNavMeshResult(const LLSD &pContent, U32 pNavMes
|
|||
ENavMeshRequestStatus status;
|
||||
if ( pContent.has(NAVMESH_DATA_FIELD) )
|
||||
{
|
||||
// <FS> ignore dangling reference false positives in gcc13
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdangling-reference"
|
||||
#endif
|
||||
// </FS>
|
||||
const LLSD::Binary &value = pContent.get(NAVMESH_DATA_FIELD).asBinary();
|
||||
// <FS> ignore dangling reference false positives in gcc13
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
// </FS>
|
||||
auto binSize = value.size();
|
||||
std::string newStr(reinterpret_cast<const char *>(&value[0]), binSize);
|
||||
std::istringstream streamdecomp( newStr );
|
||||
|
|
|
|||
|
|
@ -490,7 +490,14 @@ void RlvUtil::filterLocation(std::string& strUTF8Text)
|
|||
{
|
||||
// Filter any mention of the surrounding region names
|
||||
LLWorld::region_list_t regions = LLWorld::getInstance()->getRegionList();
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdangling-reference"
|
||||
#endif
|
||||
const std::string& strHiddenRegion = RlvStrings::getString(RlvStringKeys::Hidden::Region);
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
for (LLWorld::region_list_t::const_iterator itRegion = regions.begin(); itRegion != regions.end(); ++itRegion)
|
||||
boost::replace_all_regex(strUTF8Text, boost::regex("\\b" + escape_for_regex((*itRegion)->getName()) + "\\b", boost::regex::icase), strHiddenRegion);
|
||||
|
||||
|
|
|
|||
|
|
@ -374,7 +374,14 @@ void RlvHandler::getAttachmentResourcesCoro(const std::string& strUrl)
|
|||
for (LLSD::array_const_iterator itAttachObj = sdAttachObjects.beginArray(), endAttachObj = sdAttachObjects.endArray(); itAttachObj != endAttachObj; ++itAttachObj)
|
||||
{
|
||||
const LLUUID idObj = itAttachObj->get("id").asUUID();
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdangling-reference"
|
||||
#endif
|
||||
const std::string& strObjName = itAttachObj->get("name").asStringRef();
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
// If it's an attachment, it should be a temporary one (NOTE: we might catch it before it's had a chance to attach)
|
||||
const LLViewerObject* pObj = gObjectList.findObject(idObj);
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<layout_stack name="camera_view_layout_stack">
|
||||
<layout_panel name="camera_rotate_layout_panel">
|
||||
<joystick_rotate name="cam_rotate_stick" tool_tip="Faire tourner la caméra autour du point central"/>
|
||||
<button name="roll_left" tool_tip="Faire pivoter la caméra vers la gauche"/>
|
||||
<button name="roll_right" tool_tip="Faire pivoter la caméra vers la droite"/>
|
||||
</layout_panel>
|
||||
<layout_panel name="camera_zoom_layout_panel">
|
||||
<slider_bar name="zoom_slider" tool_tip="Zoomer en direction du point central"/>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
<layout_stack name="camera_view_layout_stack">
|
||||
<layout_panel name="camera_rotate_layout_panel">
|
||||
<joystick_rotate name="cam_rotate_stick" tool_tip="Faites pivoter la caméra autour du sujet" />
|
||||
<button name="roll_left" tool_tip="Faire pivoter la caméra vers la gauche"/>
|
||||
<button name="roll_right" tool_tip="Faire pivoter la caméra vers la droite"/>
|
||||
</layout_panel>
|
||||
<layout_panel name="camera_zoom_layout_panel">
|
||||
<slider_bar name="zoom_slider" tool_tip="Zoomez sur le sujet" />
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
<layout_stack name="camera_view_layout_stack">
|
||||
<layout_panel name="camera_rotate_layout_panel">
|
||||
<joystick_rotate name="cam_rotate_stick" tool_tip="Вращение камеры вокруг точки фокусировки"/>
|
||||
<button name="roll_left" tool_tip="Вращать камеру влево"/>
|
||||
<button name="roll_right" tool_tip="Вращать камеру вправо"/>
|
||||
</layout_panel>
|
||||
<layout_panel name="camera_zoom_layout_panel">
|
||||
<slider_bar name="zoom_slider" tool_tip="Приблизить/отдалить камеру к/от точки фокусировки"/>
|
||||
|
|
@ -42,4 +44,4 @@
|
|||
</combo_box>
|
||||
<button name="gear_btn" tool_tip="Предустановки Камеры"/>
|
||||
</panel>
|
||||
</floater>
|
||||
</floater>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
<layout_stack name="camera_view_layout_stack">
|
||||
<layout_panel name="camera_rotate_layout_panel">
|
||||
<joystick_rotate name="cam_rotate_stick" tool_tip="Вращение камеры вокруг точки фокусировки"/>
|
||||
<button name="roll_left" tool_tip="Вращать камеру влево"/>
|
||||
<button name="roll_right" tool_tip="Вращать камеру вправо"/>
|
||||
</layout_panel>
|
||||
<layout_panel name="camera_zoom_layout_panel">
|
||||
<slider_bar name="zoom_slider" tool_tip="Приблизить/отдалить камеру к/от точки фокусировки"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue