Re-enabled Cancel TP button.
This commit is contained in:
@@ -464,7 +464,7 @@ void LLOverlayBar::onClickStandUp(void*)
|
|||||||
void LLOverlayBar::onClickCancelTP(void* data)
|
void LLOverlayBar::onClickCancelTP(void* data)
|
||||||
{
|
{
|
||||||
LLOverlayBar* self = (LLOverlayBar*)data;
|
LLOverlayBar* self = (LLOverlayBar*)data;
|
||||||
self->setCancelTPButtonVisible(FALSE,std::string("Cancel"));
|
self->setCancelTPButtonVisible(FALSE, std::string("Cancel TP"));
|
||||||
gAgent.teleportCancel();
|
gAgent.teleportCancel();
|
||||||
llinfos << "trying to cancel teleport" << llendl;
|
llinfos << "trying to cancel teleport" << llendl;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,10 @@
|
|||||||
<button bottom="1" follows="left|bottom" font="SansSerif" halign="center" height="20"
|
<button bottom="1" follows="left|bottom" font="SansSerif" halign="center" height="20"
|
||||||
label="Stand Up" label_selected="Stand Up" left="457" name="Stand Up"
|
label="Stand Up" label_selected="Stand Up" left="457" name="Stand Up"
|
||||||
scale_image="true" tool_tip="Click here to stand up." width="102" />
|
scale_image="true" tool_tip="Click here to stand up." width="102" />
|
||||||
</layout_panel>
|
<button bottom="1" follows="left|bottom" font="SansSerif" halign="center" height="20"
|
||||||
|
label="Cancel TP" label_selected="Cancel TP" left="571" name="Cancel TP"
|
||||||
|
scale_image="true" tool_tip="Click here to cancel the current teleport process." width="102" />
|
||||||
|
</layout_panel>
|
||||||
<layout_panel auto_resize="false" background_visible="false" border="false" bottom="0"
|
<layout_panel auto_resize="false" background_visible="false" border="false" bottom="0"
|
||||||
filename="panel_chat_bar.xml" follows="left|right|bottom" left="0"
|
filename="panel_chat_bar.xml" follows="left|right|bottom" left="0"
|
||||||
min_height="24" mouse_opaque="false" name="chat_bar"
|
min_height="24" mouse_opaque="false" name="chat_bar"
|
||||||
|
|||||||
Reference in New Issue
Block a user