From 6c016697d9ca955e0b3ae205fca4c3544ee4ae1a Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 31 Jul 2024 20:55:19 +0300 Subject: [PATCH] Fix a crash when selecting an imported model in a 3D cel --- src/Tools/3DTools/3DShapeEdit.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/3DTools/3DShapeEdit.gd b/src/Tools/3DTools/3DShapeEdit.gd index 2614def9f..bdde91bae 100644 --- a/src/Tools/3DTools/3DShapeEdit.gd +++ b/src/Tools/3DTools/3DShapeEdit.gd @@ -359,7 +359,7 @@ func _set_node_values(to_edit: Object, properties: Dictionary) -> void: if property_path.ends_with("v2"): property_path = property_path.replace("v2", "") var value = to_edit.get_indexed(property_path) - if value == null: + if not is_instance_valid(value): continue if "scale" in prop: value *= 100