From 5f838271987d44608b75504a2d29d624d8c9e0a0 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 6 Jun 2020 10:36:30 +1200 Subject: [PATCH 01/11] Fix not being able to delete entities in serverless domains --- libraries/entities/src/EntityScriptingInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/entities/src/EntityScriptingInterface.cpp b/libraries/entities/src/EntityScriptingInterface.cpp index d68747b96c..fd83c99ca5 100644 --- a/libraries/entities/src/EntityScriptingInterface.cpp +++ b/libraries/entities/src/EntityScriptingInterface.cpp @@ -987,8 +987,8 @@ void EntityScriptingInterface::deleteEntity(const QUuid& id) { // Deleting an entity has consequences for linked children: some can be deleted but others can't. // Local- and my-avatar-entities can be deleted immediately, but other-avatar-entities can't be deleted - // by this context, and a domain-entity must rountrip through the entity-server for authorization. - if (entity->isDomainEntity()) { + // by this context, and a domain-entity must round trip through the entity-server for authorization. + if (entity->isDomainEntity() && !_entityTree->isServerlessMode()) { getEntityPacketSender()->queueEraseEntityMessage(id); } else { entitiesToDeleteImmediately.push_back(entity); From 8494e6e6b560db335f21e8b75cbb5233d40d8312 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 6 Jun 2020 15:15:03 +1200 Subject: [PATCH 02/11] Fix visibility of values in Wearables dialog --- interface/resources/qml/controlsUit/SpinBox.qml | 4 ++-- interface/resources/qml/hifi/avatarapp/AdjustWearables.qml | 4 +--- interface/resources/qml/hifi/avatarapp/Vector3.qml | 6 +++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/interface/resources/qml/controlsUit/SpinBox.qml b/interface/resources/qml/controlsUit/SpinBox.qml index 564157efb0..a888bbd07c 100644 --- a/interface/resources/qml/controlsUit/SpinBox.qml +++ b/interface/resources/qml/controlsUit/SpinBox.qml @@ -109,7 +109,7 @@ SpinBox { id: spinboxText z: 2 color: isLightColorScheme - ? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.faintGray) + ? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.baseGrayHighlight) : (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText) selectedTextColor: hifi.colors.black selectionColor: hifi.colors.primaryHighlight @@ -130,7 +130,7 @@ SpinBox { } color: isLightColorScheme - ? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.faintGray) + ? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.baseGrayHighlight) : (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText) text: suffix verticalAlignment: Qt.AlignVCenter diff --git a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml index 15a20b491a..dfee6e60f7 100644 --- a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml +++ b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml @@ -403,7 +403,6 @@ Rectangle { Vector3 { id: positionVector - backgroundColor: "lightgray" enabled: getCurrentWearable() !== null function set(localPosition) { @@ -463,7 +462,6 @@ Rectangle { Vector3 { id: rotationVector - backgroundColor: "lightgray" enabled: getCurrentWearable() !== null function set(localRotationAngles) { @@ -550,7 +548,7 @@ Rectangle { realFrom: 0.1 realTo: 3.0 realValue: 1.0 - backgroundColor: "lightgray" + backgroundColor: activeFocus ? "white" : "lightgray" width: positionVector.spinboxWidth colorScheme: hifi.colorSchemes.light diff --git a/interface/resources/qml/hifi/avatarapp/Vector3.qml b/interface/resources/qml/hifi/avatarapp/Vector3.qml index 698123104f..54f8d087e5 100644 --- a/interface/resources/qml/hifi/avatarapp/Vector3.qml +++ b/interface/resources/qml/hifi/avatarapp/Vector3.qml @@ -29,7 +29,7 @@ Row { id: xspinner width: parent.spinboxWidth labelInside: "X:" - backgroundColor: parent.backgroundColor + backgroundColor: activeFocus ? "white" : "lightgray" colorLabelInside: hifi.colors.redHighlight colorScheme: hifi.colorSchemes.light decimals: root.decimals; @@ -43,7 +43,7 @@ Row { id: yspinner width: parent.spinboxWidth labelInside: "Y:" - backgroundColor: parent.backgroundColor + backgroundColor: activeFocus ? "white" : "lightgray" colorLabelInside: hifi.colors.greenHighlight colorScheme: hifi.colorSchemes.light decimals: root.decimals; @@ -57,7 +57,7 @@ Row { id: zspinner width: parent.spinboxWidth labelInside: "Z:" - backgroundColor: parent.backgroundColor + backgroundColor: activeFocus ? "white" : "lightgray" colorLabelInside: hifi.colors.primaryHighlight colorScheme: hifi.colorSchemes.light decimals: root.decimals; From 6df34d2a899f1a402b2be4b7a6f812e13f6057d2 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Mon, 8 Jun 2020 08:10:19 +1200 Subject: [PATCH 03/11] Reduce minimum inspect distance --- scripts/system/inspect.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/system/inspect.js b/scripts/system/inspect.js index 17260a4358..9aacfd14c2 100644 --- a/scripts/system/inspect.js +++ b/scripts/system/inspect.js @@ -123,10 +123,11 @@ function orientationOf(vector) { } function handleRadialMode(dx, dy) { + var MIN_INSPECT_RADIUS = 0.1; azimuth += dx / AZIMUTH_RATE; radius += radius * dy * RADIUS_RATE; - if (radius < 1) { - radius = 1; + if (radius < MIN_INSPECT_RADIUS) { + radius = MIN_INSPECT_RADIUS; } vector = { From a75c43e0733df15fbf5b5205ef59865279165eef Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Mon, 8 Jun 2020 23:39:23 -0400 Subject: [PATCH 04/11] Update login overlay to Vircadia. --- interface/resources/qml/OverlayLoginDialog.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/resources/qml/OverlayLoginDialog.qml b/interface/resources/qml/OverlayLoginDialog.qml index 0ad2c57e5f..466585f045 100644 --- a/interface/resources/qml/OverlayLoginDialog.qml +++ b/interface/resources/qml/OverlayLoginDialog.qml @@ -81,7 +81,9 @@ FocusScope { Image { id: banner anchors.centerIn: parent - source: "../images/high-fidelity-banner.svg" + sourceSize.width: 500 + sourceSize.height: 91 + source: "../images/vircadia-logo.svg" horizontalAlignment: Image.AlignHCenter } } From 6e7b3a387d91c5d4c7383b1d345ee4ac36f3e5c7 Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Wed, 10 Jun 2020 02:54:42 -0400 Subject: [PATCH 05/11] Remove old goto, update community-apps beta link. --- scripts/defaultScripts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/defaultScripts.js b/scripts/defaultScripts.js index 1eac2ae0aa..5e7e120bf3 100644 --- a/scripts/defaultScripts.js +++ b/scripts/defaultScripts.js @@ -23,7 +23,6 @@ var DEFAULT_SCRIPTS_COMBINED = [ "system/pal.js", // "system/mod.js", // older UX, if you prefer "system/avatarapp.js", "system/makeUserConnection.js", - "system/tablet-goto.js", "system/marketplaces/marketplaces.js", "system/notifications.js", "system/commerce/wallet.js", @@ -41,7 +40,7 @@ var DEFAULT_SCRIPTS_SEPARATE = [ "system/controllers/controllerScripts.js", "communityModules/notificationCore/notificationCore.js", "simplifiedUI/ui/simplifiedNametag/simplifiedNametag.js", - {"stable": "system/more/app-more.js", "beta": "https://kasenvr.github.io/community-apps/more/app-more.js"}, + {"stable": "system/more/app-more.js", "beta": "https://cdn.vircadia.com/community-apps/more/app-more.js"}, {"stable": "communityScripts/explore/explore.js", "beta": "https://metaverse.vircadia.com/interim/d-goto/app/explore.js"}, {"stable": "communityModules/chat/FloofChat.js", "beta": "https://content.fluffy.ws/scripts/chat/FloofChat.js"} //"system/chat.js" From 05837d178a2cfc2627fc5ece82c00d0eee93baa1 Mon Sep 17 00:00:00 2001 From: Kasen IO Date: Wed, 10 Jun 2020 13:33:33 -0400 Subject: [PATCH 06/11] Update Explore app to latest. --- scripts/communityScripts/explore/explore.html | 30 +++++++++++++++++-- scripts/communityScripts/explore/explore.js | 13 ++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/scripts/communityScripts/explore/explore.html b/scripts/communityScripts/explore/explore.html index affaf0887f..1163d76424 100644 --- a/scripts/communityScripts/explore/explore.html +++ b/scripts/communityScripts/explore/explore.html @@ -73,6 +73,9 @@

Explore

+ + + @@ -85,15 +88,36 @@