1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

Fix a crash when selecting an imported model in a 3D cel

This commit is contained in:
Emmanouil Papadeas 2024-07-31 20:55:19 +03:00
parent af81154cbf
commit 6c016697d9

View file

@ -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