mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
checkpoint
This commit is contained in:
parent
90cc9c565a
commit
9709bedca7
4 changed files with 12 additions and 2 deletions
Binary file not shown.
|
@ -25,6 +25,7 @@
|
||||||
<input type="button" id="visible" class="glyph" value="" />
|
<input type="button" id="visible" class="glyph" value="" />
|
||||||
</div>
|
</div>
|
||||||
<input type="button" id="teleport" value="Jump To Selection" />
|
<input type="button" id="teleport" value="Jump To Selection" />
|
||||||
|
<input type="button" id="pal" class="glyph" value="" />
|
||||||
<input type="button" class="red" id="delete" value="Delete" />
|
<input type="button" class="red" id="delete" value="Delete" />
|
||||||
</div>
|
</div>
|
||||||
<div id="entity-list">
|
<div id="entity-list">
|
||||||
|
@ -94,4 +95,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -39,6 +39,7 @@ function loaded() {
|
||||||
elInView = document.getElementById("in-view")
|
elInView = document.getElementById("in-view")
|
||||||
elRadius = document.getElementById("radius");
|
elRadius = document.getElementById("radius");
|
||||||
elTeleport = document.getElementById("teleport");
|
elTeleport = document.getElementById("teleport");
|
||||||
|
elPal = document.getElementById("pal");
|
||||||
elEntityTable = document.getElementById("entity-table");
|
elEntityTable = document.getElementById("entity-table");
|
||||||
elInfoToggle = document.getElementById("info-toggle");
|
elInfoToggle = document.getElementById("info-toggle");
|
||||||
elInfoToggleGlyph = elInfoToggle.firstChild;
|
elInfoToggleGlyph = elInfoToggle.firstChild;
|
||||||
|
@ -274,6 +275,9 @@ function loaded() {
|
||||||
elTeleport.onclick = function () {
|
elTeleport.onclick = function () {
|
||||||
EventBridge.emitWebEvent(JSON.stringify({ type: 'teleport' }));
|
EventBridge.emitWebEvent(JSON.stringify({ type: 'teleport' }));
|
||||||
}
|
}
|
||||||
|
elPal.onclick = function () {
|
||||||
|
EventBridge.emitWebEvent(JSON.stringify({ type: 'pal' }));
|
||||||
|
}
|
||||||
elDelete.onclick = function() {
|
elDelete.onclick = function() {
|
||||||
EventBridge.emitWebEvent(JSON.stringify({ type: 'delete' }));
|
EventBridge.emitWebEvent(JSON.stringify({ type: 'delete' }));
|
||||||
refreshEntities();
|
refreshEntities();
|
||||||
|
|
|
@ -120,6 +120,11 @@ EntityListTool = function(opts) {
|
||||||
if (selectionManager.hasSelection()) {
|
if (selectionManager.hasSelection()) {
|
||||||
MyAvatar.position = selectionManager.worldPosition;
|
MyAvatar.position = selectionManager.worldPosition;
|
||||||
}
|
}
|
||||||
|
} else if (data.type == "pal") {
|
||||||
|
print("fixme got pal");
|
||||||
|
if (selectionManager.hasSelection()) {
|
||||||
|
print('fixme selection', JSON.stringify(selectionManager.selections));
|
||||||
|
}
|
||||||
} else if (data.type == "delete") {
|
} else if (data.type == "delete") {
|
||||||
deleteSelectedEntities();
|
deleteSelectedEntities();
|
||||||
} else if (data.type == "toggleLocked") {
|
} else if (data.type == "toggleLocked") {
|
||||||
|
@ -140,4 +145,4 @@ EntityListTool = function(opts) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue