[Frosting:268] Sit via self pie menu
This commit is contained in:
@@ -3612,6 +3612,7 @@ class LLSelfEnableSitOrStand : public view_listener_t
|
|||||||
|
|
||||||
gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
|
gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
|
||||||
gMenuHolder->childSetText("Stand Up", label);
|
gMenuHolder->childSetText("Stand Up", label);
|
||||||
|
gMenuHolder->childSetText("Stand Up Self", label);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,7 +108,10 @@
|
|||||||
<on_click function="Avatar.CopyUUID" />
|
<on_click function="Avatar.CopyUUID" />
|
||||||
</menu_item_call>
|
</menu_item_call>
|
||||||
</pie_menu>
|
</pie_menu>
|
||||||
<menu_item_separator />
|
<menu_item_call enabled="true" label="Stand Up" name="Stand Up Self">
|
||||||
|
<on_click function="Self.SitOrStand"/>
|
||||||
|
<on_enable function="Self.EnableSitOrStand" userdata="Sit Down,Stand Up"/>
|
||||||
|
</menu_item_call>
|
||||||
<menu_item_call enabled="true" label="Gestures..." name="Gestures...">
|
<menu_item_call enabled="true" label="Gestures..." name="Gestures...">
|
||||||
<on_click function="ShowFloater" userdata="gestures" />
|
<on_click function="ShowFloater" userdata="gestures" />
|
||||||
</menu_item_call>
|
</menu_item_call>
|
||||||
|
|||||||
Reference in New Issue
Block a user