mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 05:04:14 +02:00
Add print type
This commit is contained in:
parent
b572c13660
commit
94765f0c53
1 changed files with 5 additions and 1 deletions
|
@ -1197,7 +1197,11 @@ PropertiesTool = function(opts) {
|
|||
|
||||
webView.eventBridge.webEventReceived.connect(function(data) {
|
||||
data = JSON.parse(data);
|
||||
if (data.type == "update") {
|
||||
if (data.type == "print") {
|
||||
if (data.message) {
|
||||
print(data.message);
|
||||
}
|
||||
} else if (data.type == "update") {
|
||||
selectionManager.saveProperties();
|
||||
if (selectionManager.selections.length > 1) {
|
||||
properties = {
|
||||
|
|
Loading…
Reference in a new issue