merge
commit
329b98528e
6
build.sh
6
build.sh
|
|
@ -268,6 +268,12 @@ then
|
|||
else
|
||||
upload_item installer "$package" binary/octet-stream
|
||||
upload_item quicklink "$package" binary/octet-stream
|
||||
mapfilepath=$build_dir/newview
|
||||
gzip $mapfilepath/secondlife-bin.MAP
|
||||
mapfile=secondlife-bin-$arch.MAP.gz
|
||||
mv $mapfilepath/secondlife-bin.MAP.gz $mapfilepath/$mapfile
|
||||
upload_item mapfile "$mapfilepath/$mapfile" binary/octet-stream
|
||||
echo "Uploaded mapfile"
|
||||
[ -f summary.json ] && upload_item installer summary.json text/plain
|
||||
|
||||
# Upload crash reporter files.
|
||||
|
|
|
|||
|
|
@ -1550,7 +1550,7 @@ if (WINDOWS)
|
|||
#LINK_FLAGS "/debug /NODEFAULTLIB:LIBCMT /SUBSYSTEM:WINDOWS /INCLUDE:\"__tcmalloc\""
|
||||
LINK_FLAGS "/debug /NODEFAULTLIB:LIBCMT /SUBSYSTEM:WINDOWS /INCLUDE:__tcmalloc "
|
||||
LINK_FLAGS_DEBUG "/NODEFAULTLIB:\"LIBCMT;LIBCMTD;MSVCRT\" /INCREMENTAL:NO"
|
||||
LINK_FLAGS_RELEASE "/FORCE:MULTIPLE"
|
||||
LINK_FLAGS_RELEASE "/FORCE:MULTIPLE /MAP\"secondlife-bin.MAP\" /OPT:REF"
|
||||
)
|
||||
if(USE_PRECOMPILED_HEADERS)
|
||||
set_target_properties(
|
||||
|
|
@ -1755,6 +1755,17 @@ if (WINDOWS)
|
|||
#${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/event_host.tar.bz2)
|
||||
|
||||
endif (PACKAGE)
|
||||
elseif (DARWIN)
|
||||
set_target_properties(${VIEWER_BINARY_NAME}
|
||||
PROPERTIES
|
||||
LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Xlinker -dead_strip -Xlinker -map -Xlinker ${CMAKE_CURRENT_BINARY_DIR}/${VIEWER_BINARY_NAME}.MAP"
|
||||
)
|
||||
else (WINDOWS)
|
||||
# Linux
|
||||
set_target_properties(${VIEWER_BINARY_NAME}
|
||||
PROPERTIES
|
||||
LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Wl,--Map=${VIEWER_BINARY_NAME}.MAP"
|
||||
)
|
||||
endif (WINDOWS)
|
||||
|
||||
# *NOTE - this list is very sensitive to ordering, test carefully on all
|
||||
|
|
|
|||
|
|
@ -160,11 +160,11 @@ LLSD LLFloaterPathfindingCharacters::convertObjectsIntoScrollListData(const LLPa
|
|||
return scrollListData;
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingCharacters::updateControls()
|
||||
void LLFloaterPathfindingCharacters::updateControlsOnScrollListChange()
|
||||
{
|
||||
LLFloaterPathfindingObjects::updateControls();
|
||||
updateOnScrollListChange();
|
||||
updateStateOnActionFields();
|
||||
LLFloaterPathfindingObjects::updateControlsOnScrollListChange();
|
||||
updateStateOnDisplayControls();
|
||||
showSelectedCharacterCapsules();
|
||||
}
|
||||
|
||||
S32 LLFloaterPathfindingCharacters::getNameColumnIndex() const
|
||||
|
|
@ -233,7 +233,7 @@ LLSD LLFloaterPathfindingCharacters::buildCharacterScrollListData(const LLPathfi
|
|||
return element;
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingCharacters::updateStateOnActionFields()
|
||||
void LLFloaterPathfindingCharacters::updateStateOnDisplayControls()
|
||||
{
|
||||
int numSelectedItems = getNumSelectedObjects();;
|
||||
#ifndef SERVER_SIDE_CHARACTER_SHAPE_ROLLOUT_COMPLETE
|
||||
|
|
@ -249,7 +249,7 @@ void LLFloaterPathfindingCharacters::updateStateOnActionFields()
|
|||
}
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingCharacters::updateOnScrollListChange()
|
||||
void LLFloaterPathfindingCharacters::showSelectedCharacterCapsules()
|
||||
{
|
||||
// Hide any previous capsule
|
||||
hideCapsule();
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ protected:
|
|||
|
||||
virtual LLSD convertObjectsIntoScrollListData(const LLPathfindingObjectListPtr pObjectListPtr);
|
||||
|
||||
virtual void updateControls();
|
||||
virtual void updateControlsOnScrollListChange();
|
||||
|
||||
virtual S32 getNameColumnIndex() const;
|
||||
virtual const LLColor4 &getBeaconColor() const;
|
||||
|
|
@ -73,8 +73,8 @@ private:
|
|||
|
||||
LLSD buildCharacterScrollListData(const LLPathfindingCharacter *pCharacterPtr) const;
|
||||
|
||||
void updateStateOnActionFields();
|
||||
void updateOnScrollListChange();
|
||||
void updateStateOnDisplayControls();
|
||||
void showSelectedCharacterCapsules();
|
||||
|
||||
void showCapsule() const;
|
||||
void hideCapsule() const;
|
||||
|
|
|
|||
|
|
@ -250,9 +250,9 @@ LLSD LLFloaterPathfindingLinksets::convertObjectsIntoScrollListData(const LLPath
|
|||
return scrollListData;
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingLinksets::updateControls()
|
||||
void LLFloaterPathfindingLinksets::updateControlsOnScrollListChange()
|
||||
{
|
||||
LLFloaterPathfindingObjects::updateControls();
|
||||
LLFloaterPathfindingObjects::updateControlsOnScrollListChange();
|
||||
updateEditFieldValues();
|
||||
updateStateOnEditFields();
|
||||
updateStateOnEditLinksetUse();
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ protected:
|
|||
|
||||
virtual LLSD convertObjectsIntoScrollListData(const LLPathfindingObjectListPtr pObjectListPtr);
|
||||
|
||||
virtual void updateControls();
|
||||
virtual void updateControlsOnScrollListChange();
|
||||
|
||||
virtual S32 getNameColumnIndex() const;
|
||||
virtual const LLColor4 &getBeaconColor() const;
|
||||
|
|
|
|||
|
|
@ -348,7 +348,7 @@ void LLFloaterPathfindingObjects::rebuildObjectsScrollList()
|
|||
|
||||
mObjectsScrollList->selectMultiple(selectedUUIDs);
|
||||
mObjectsScrollList->setScrollPos(origScrollPosition);
|
||||
updateControls();
|
||||
updateControlsOnScrollListChange();
|
||||
}
|
||||
|
||||
LLSD LLFloaterPathfindingObjects::convertObjectsIntoScrollListData(const LLPathfindingObjectListPtr pObjectListPtr)
|
||||
|
|
@ -368,11 +368,17 @@ void LLFloaterPathfindingObjects::rebuildScrollListAfterAvatarNameLoads(const LL
|
|||
}
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::updateControls()
|
||||
void LLFloaterPathfindingObjects::updateControlsOnScrollListChange()
|
||||
{
|
||||
updateMessagingStatus();
|
||||
updateStateOnListActionControls();
|
||||
updateStateOnEditFields();
|
||||
updateStateOnListControls();
|
||||
selectScrollListItemsInWorld();
|
||||
updateStateOnActionControls();
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::updateControlsOnInWorldSelectionChange()
|
||||
{
|
||||
updateStateOnActionControls();
|
||||
}
|
||||
|
||||
S32 LLFloaterPathfindingObjects::getNameColumnIndex() const
|
||||
|
|
@ -491,7 +497,7 @@ LLFloaterPathfindingObjects::EMessagingState LLFloaterPathfindingObjects::getMes
|
|||
void LLFloaterPathfindingObjects::setMessagingState(EMessagingState pMessagingState)
|
||||
{
|
||||
mMessagingState = pMessagingState;
|
||||
updateControls();
|
||||
updateControlsOnScrollListChange();
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::onRefreshObjectsClicked()
|
||||
|
|
@ -539,13 +545,12 @@ void LLFloaterPathfindingObjects::onTeleportClicked()
|
|||
|
||||
void LLFloaterPathfindingObjects::onScrollListSelectionChanged()
|
||||
{
|
||||
updateOnScrollListChange();
|
||||
updateControls();
|
||||
updateControlsOnScrollListChange();
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::onInWorldSelectionListChanged()
|
||||
{
|
||||
updateControls();
|
||||
updateControlsOnInWorldSelectionChange();
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::onRegionBoundaryCrossed()
|
||||
|
|
@ -632,7 +637,7 @@ void LLFloaterPathfindingObjects::updateMessagingStatus()
|
|||
mMessagingStatus->setText((LLStringExplicit)statusText, styleParams);
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::updateStateOnListActionControls()
|
||||
void LLFloaterPathfindingObjects::updateStateOnListControls()
|
||||
{
|
||||
switch (getMessagingState())
|
||||
{
|
||||
|
|
@ -665,7 +670,7 @@ void LLFloaterPathfindingObjects::updateStateOnListActionControls()
|
|||
}
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::updateStateOnEditFields()
|
||||
void LLFloaterPathfindingObjects::updateStateOnActionControls()
|
||||
{
|
||||
int numSelectedItems = mObjectsScrollList->getNumSelected();
|
||||
bool isEditEnabled = (numSelectedItems > 0);
|
||||
|
|
@ -678,7 +683,7 @@ void LLFloaterPathfindingObjects::updateStateOnEditFields()
|
|||
mTeleportButton->setEnabled(numSelectedItems == 1);
|
||||
}
|
||||
|
||||
void LLFloaterPathfindingObjects::updateOnScrollListChange()
|
||||
void LLFloaterPathfindingObjects::selectScrollListItemsInWorld()
|
||||
{
|
||||
mObjectsSelection.clear();
|
||||
LLSelectMgr::getInstance()->deselectAll();
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@ protected:
|
|||
|
||||
void rebuildScrollListAfterAvatarNameLoads(const LLUUID &pAvatarId);
|
||||
|
||||
virtual void updateControls();
|
||||
virtual void updateControlsOnScrollListChange();
|
||||
virtual void updateControlsOnInWorldSelectionChange();
|
||||
|
||||
virtual S32 getNameColumnIndex() const;
|
||||
virtual const LLColor4 &getBeaconColor() const;
|
||||
|
|
@ -124,9 +125,9 @@ private:
|
|||
void handleAvatarNameLoads(const LLUUID &pAvatarId, const LLAvatarName &pAvatarName);
|
||||
|
||||
void updateMessagingStatus();
|
||||
void updateStateOnListActionControls();
|
||||
void updateStateOnEditFields();
|
||||
void updateOnScrollListChange();
|
||||
void updateStateOnListControls();
|
||||
void updateStateOnActionControls();
|
||||
void selectScrollListItemsInWorld();
|
||||
|
||||
LLPathfindingObjectPtr findObject(const LLScrollListItem *pListItem) const;
|
||||
|
||||
|
|
|
|||
|
|
@ -827,7 +827,7 @@ void LLLocationInputCtrl::refreshParcelIcons()
|
|||
bool allow_scripts = vpm->allowAgentScripts(agent_region, current_parcel);
|
||||
bool allow_damage = vpm->allowAgentDamage(agent_region, current_parcel);
|
||||
bool see_avs = current_parcel->getSeeAVs();
|
||||
bool pathfinding_dynamic = gAgent.getRegion()->dynamicPathfindingEnabled();
|
||||
bool pathfinding_dynamic_enabled = gAgent.getRegion()->dynamicPathfindingEnabled();
|
||||
|
||||
// Most icons are "block this ability"
|
||||
mParcelIcon[VOICE_ICON]->setVisible( !allow_voice );
|
||||
|
|
@ -836,7 +836,7 @@ void LLLocationInputCtrl::refreshParcelIcons()
|
|||
mParcelIcon[BUILD_ICON]->setVisible( !allow_build );
|
||||
mParcelIcon[SCRIPTS_ICON]->setVisible( !allow_scripts );
|
||||
mParcelIcon[DAMAGE_ICON]->setVisible( allow_damage );
|
||||
mParcelIcon[PATHFINDING_DYNAMIC_ICON]->setVisible( pathfinding_dynamic );
|
||||
mParcelIcon[PATHFINDING_DYNAMIC_ICON]->setVisible( !pathfinding_dynamic_enabled );
|
||||
|
||||
mDamageText->setVisible(allow_damage);
|
||||
mParcelIcon[SEE_AVATARS_ICON]->setVisible( !see_avs );
|
||||
|
|
|
|||
|
|
@ -285,10 +285,7 @@ LLPathfindingManager::LLPathfindingManager()
|
|||
mShowNavMeshRebake(false),
|
||||
mCrossingSlot()
|
||||
{
|
||||
if ( !mCrossingSlot.connected() )
|
||||
{
|
||||
mCrossingSlot = LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLPathfindingManager::onRegionBoundaryCrossed, this));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void LLPathfindingManager::onRegionBoundaryCrossed()
|
||||
|
|
@ -616,6 +613,11 @@ LLPathfindingNavMeshPtr LLPathfindingManager::getNavMeshForRegion(LLViewerRegion
|
|||
|
||||
void LLPathfindingManager::requestGetAgentState()
|
||||
{
|
||||
if ( !mCrossingSlot.connected() )
|
||||
{
|
||||
mCrossingSlot = LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLPathfindingManager::onRegionBoundaryCrossed, this));
|
||||
}
|
||||
|
||||
std::string agentStateURL = getAgentStateURLForCurrentRegion( getCurrentRegion() );
|
||||
|
||||
if ( !agentStateURL.empty() )
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ public:
|
|||
void handleNavMeshRebakeError( U32 pStatus, const std::string &pReason, const std::string &pURL );
|
||||
void triggerNavMeshRebuild();
|
||||
void onRegionBoundaryCrossed();
|
||||
void requestGetAgentState();
|
||||
|
||||
protected:
|
||||
|
||||
|
|
@ -129,16 +130,13 @@ private:
|
|||
|
||||
void displayNavMeshRebakePanel();
|
||||
void hideNavMeshRebakePanel();
|
||||
|
||||
|
||||
void requestGetAgentState();
|
||||
void handleAgentStateResult(const LLSD &pContent );//, EAgentState pRequestedAgentState);
|
||||
void handleAgentStateResult(const LLSD &pContent );
|
||||
void handleAgentStateError(U32 pStatus, const std::string &pReason, const std::string &pURL);
|
||||
|
||||
|
||||
NavMeshMap mNavMeshMap;
|
||||
|
||||
|
||||
//prep#stinson# set this flag instead of directly showing/hiding the rebake panel
|
||||
BOOL mShowNavMeshRebake;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2169,6 +2169,8 @@ bool idle_startup()
|
|||
LLIMFloater::initIMFloater();
|
||||
display_startup();
|
||||
|
||||
LLPathfindingManager::getInstance()->requestGetAgentState();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 384 B |
|
|
@ -5786,7 +5786,7 @@ This area has building disabled. You can't build or rez objects here.
|
|||
persist="true"
|
||||
type="notify">
|
||||
<unique/>
|
||||
Dynamic pathing is enabled.
|
||||
Dynamic pathing is not available.
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
|
|
|
|||
|
|
@ -3325,7 +3325,7 @@ If you continue to receive this message, contact the [SUPPORT_SITE].
|
|||
<string name="LocationCtrlModerateIconTooltip">Moderate Region</string>
|
||||
<string name="LocationCtrlGeneralIconTooltip">General Region</string>
|
||||
<string name="LocationCtrlSeeAVsTooltip">Avatars visible and chat allowed outside of this parcel</string>
|
||||
<string name="PathfindingDynamicTooltip">Dynamic Pathfinding Enabled</string>
|
||||
<string name="PathfindingDynamicTooltip">Dynamic Pathfinding is not available</string>
|
||||
<!-- Strings used by the (currently Linux) auto-updater app -->
|
||||
<string name="UpdaterWindowTitle">
|
||||
[APP_NAME] Update
|
||||
|
|
|
|||
Loading…
Reference in New Issue