fix material target parentIDChanged

This commit is contained in:
unknown 2019-04-22 15:03:12 -07:00
parent 2a7ef5c5bb
commit 22c2bfc075

View file

@ -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();
}
}