[ui] SphereDetection: output is now directly the filepath

This commit is contained in:
Fabien Castan 2024-07-18 11:21:08 +02:00 committed by jmelou
parent cfa12bf2f1
commit cf24a66f3d

View file

@ -714,7 +714,7 @@ FocusScope {
json = null
if (activeNode.attribute("autoDetect").value) {
// auto detection enabled
var jsonPath = activeNode.attribute("output").value + "/detection.json"
var jsonPath = activeNode.attribute("output").value
Request.get(Filepath.stringToUrl(jsonPath), function(xhr) {
if (xhr.readyState === XMLHttpRequest.DONE) {
try {