mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +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"):
|
if property_path.ends_with("v2"):
|
||||||
property_path = property_path.replace("v2", "")
|
property_path = property_path.replace("v2", "")
|
||||||
var value = to_edit.get_indexed(property_path)
|
var value = to_edit.get_indexed(property_path)
|
||||||
if value == null:
|
if not is_instance_valid(value):
|
||||||
continue
|
continue
|
||||||
if "scale" in prop:
|
if "scale" in prop:
|
||||||
value *= 100
|
value *= 100
|
||||||
|
|
Loading…
Reference in a new issue