Bugbot no longer freezes if the thread is busy with a request when the player places a marker.

This commit is contained in:
Jamie Greunbaum 2024-05-31 03:20:09 -04:00
parent bf7389466a
commit b1c2451c3e

View File

@ -373,8 +373,8 @@ func __select_at_location(_position:Vector3, _normal:Vector3) -> void:
__place_marker(_position, _normal) __place_marker(_position, _normal)
func __place_marker(_position:Vector3, _normal:Vector3) -> void: func __place_marker(_position:Vector3, _normal:Vector3) -> void:
process_mode = Node.PROCESS_MODE_PAUSABLE if __bugbot_server._prepare_form(__bug_report_form_data_prepared) == BugbotServerAPI.BugbotServerError.OK:
__bugbot_server._prepare_form(__bug_report_form_data_prepared) process_mode = Node.PROCESS_MODE_PAUSABLE
func __pop_up_marker_info(_collider:BugInfoCollider, _position:Vector3, _normal:Vector3) -> void: func __pop_up_marker_info(_collider:BugInfoCollider, _position:Vector3, _normal:Vector3) -> void:
print(_collider.bug_info.title) print(_collider.bug_info.title)