mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 08:06:26 +02:00
Add ability to show marketplace url from edit properties
This commit is contained in:
parent
1e1c60847b
commit
66517fa1c0
1 changed files with 8 additions and 0 deletions
|
@ -338,7 +338,11 @@ var toolBar = (function () {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (browseModelsButton === toolBar.clicked(clickedOverlay)) {
|
if (browseModelsButton === toolBar.clicked(clickedOverlay)) {
|
||||||
|
if (marketplaceWindow.url != MARKETPLACE_URL) {
|
||||||
|
marketplaceWindow.setURL(MARKETPLACE_URL);
|
||||||
|
}
|
||||||
marketplaceWindow.setVisible(true);
|
marketplaceWindow.setVisible(true);
|
||||||
|
marketplaceWindow.raise();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1143,6 +1147,10 @@ PropertiesTool = function(opts) {
|
||||||
}
|
}
|
||||||
pushCommandForSelections();
|
pushCommandForSelections();
|
||||||
selectionManager._update();
|
selectionManager._update();
|
||||||
|
} else if (data.type = "showMarketplace") {
|
||||||
|
if (marketplaceWindow.url != data.url) {
|
||||||
|
marketplaceWindow.setURL(data.url);
|
||||||
|
}
|
||||||
} else if (data.type == "action") {
|
} else if (data.type == "action") {
|
||||||
if (data.action == "moveSelectionToGrid") {
|
if (data.action == "moveSelectionToGrid") {
|
||||||
if (selectionManager.hasSelection()) {
|
if (selectionManager.hasSelection()) {
|
||||||
|
|
Loading…
Reference in a new issue