mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix a crash when selecting an imported model in a 3D cel
This commit is contained in:
parent
af81154cbf
commit
6c016697d9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue