From b17e3d286252ab59dfda8221c76944691a73988e Mon Sep 17 00:00:00 2001
From: Florent Berthaut <florent.berthaut@univ-lille.fr>
Date: Mon, 15 Jan 2024 16:56:43 +0100
Subject: [PATCH] Fix sending while in editor

---
 core/IvmiNode.gd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/IvmiNode.gd b/core/IvmiNode.gd
index 9a67aa0..f553a62 100644
--- a/core/IvmiNode.gd
+++ b/core/IvmiNode.gd
@@ -138,7 +138,7 @@ func _process(delta):
 			_properties["distance_to_camera"].set_values([(cam_pos-obj_pos).length()])
 	
 	#output all values listened to which have changed
-	if _send_data:
+	if _send_data and not Engine.is_editor_hint():
 		for k in _properties.keys():
 			if _properties[k]._changed :
 				if _properties[k]._listen :
-- 
GitLab