From 22c2bfc07515dcfd5bea86fab87577d33348b996 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 22 Apr 2019 15:03:12 -0700 Subject: [PATCH] fix material target parentIDChanged --- scripts/system/html/js/entityProperties.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/html/js/entityProperties.js b/scripts/system/html/js/entityProperties.js index 4cee3c0bc7..d7800ada5d 100644 --- a/scripts/system/html/js/entityProperties.js +++ b/scripts/system/html/js/entityProperties.js @@ -2950,7 +2950,7 @@ function createProperty(propertyData, propertyElementID, propertyName, propertyI */ function parentIDChanged() { - if (currentSelections.length === 1 && currentSelections[0].type === "Material") { + if (currentSelections.length === 1 && currentSelections[0].properties.type === "Material") { requestMaterialTarget(); } }