From 261cb94ff0f2ac15fa2215522c563e0d78e0da3a Mon Sep 17 00:00:00 2001 From: HifiExperiments Date: Fri, 21 Jun 2024 14:40:40 -0700 Subject: [PATCH] fix create issue --- scripts/system/create/assets/data/createAppTooltips.json | 4 ++++ .../create/entityProperties/html/js/entityProperties.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/system/create/assets/data/createAppTooltips.json b/scripts/system/create/assets/data/createAppTooltips.json index 076f47f5dd..23a351af72 100644 --- a/scripts/system/create/assets/data/createAppTooltips.json +++ b/scripts/system/create/assets/data/createAppTooltips.json @@ -8,6 +8,10 @@ "shapeAlpha": { "tooltip": "The opacity of the entity between 0.0 fully transparent and 1.0 completely opaque." }, + "shapeUnlit": { + "tooltip": "If enabled, the entity will not be lit by the keylight or local lights.", + "jsPropertyName": "unlit" + }, "text": { "tooltip": "The text to display on the entity." }, diff --git a/scripts/system/create/entityProperties/html/js/entityProperties.js b/scripts/system/create/entityProperties/html/js/entityProperties.js index 4bbacf8af3..5cd56fc642 100644 --- a/scripts/system/create/entityProperties/html/js/entityProperties.js +++ b/scripts/system/create/entityProperties/html/js/entityProperties.js @@ -181,7 +181,8 @@ const GROUPS = [ { label: "Unlit", type: "bool", - propertyID: "unlit", + propertyID: "shapeUnlit", + propertyName: "unlit" } ] },