From 55ba3b4836b1d666e83ffc02bab98a7163704d75 Mon Sep 17 00:00:00 2001 From: QuazChick Date: Sun, 31 Mar 2024 19:40:17 +0100 Subject: [PATCH] Support molang strings in "bone_visibility" --- source/behavior/blocks/format/components/geometry.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/behavior/blocks/format/components/geometry.json b/source/behavior/blocks/format/components/geometry.json index 69a29f7c..80fa4930 100644 --- a/source/behavior/blocks/format/components/geometry.json +++ b/source/behavior/blocks/format/components/geometry.json @@ -23,8 +23,8 @@ "description": "A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.", "type": "object", "additionalProperties": { - "type": "boolean", - "description": "Whether or not the bone should be visible.", + "type": ["boolean", "string"], + "description": "Whether or not the bone should be visible. Can be defined as a boolean or a molang expression resulting in a boolean.", "title": "Bone Visibility" } },