1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-13 23:05:20 +00:00

Fix 3DShapeEdit's property sliders not updating when modifying an object through gizmos

This commit is contained in:
Emmanouil Papadeas 2025-03-09 21:11:38 +02:00
parent 1d44c3d0df
commit aaebe33d5b

View file

@ -367,7 +367,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 not is_instance_valid(value):
if value == null:
continue
if "scale" in prop:
value *= 100