We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dcc402 commit acacffdCopy full SHA for acacffd
addons/godot-xr-tools/objects/snap_zone.gd
@@ -71,13 +71,14 @@ func _ready():
71
_update_snap_mode()
72
73
# Perform the initial object check when next idle
74
- call_deferred("_initial_object_check")
+ if not Engine.is_editor_hint():
75
+ call_deferred("_initial_object_check")
76
77
78
# Called on each frame to update the pickup
79
func _process(_delta):
- # Skip if not enabled
80
- if not enabled:
+ # Skip if in editor or not enabled
81
+ if Engine.is_editor_hint() or not enabled:
82
return
83
84
# Skip if we aren't doing range-checking
0 commit comments