3dPrinting 2.7a1 :

- modificati i controlli per il valore di ritorno di EgtGetNameInGroup.
This commit is contained in:
SaraP
2025-01-31 11:05:57 +01:00
parent b0ebb4a871
commit 000bd0091f
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ function RunGcodeGenerate.Exec()
-- Recupero i layer da processare
local vLayIds = EgtGetNameInGroup( nPartId, SLICE_LAYER.."*")
if not vLayIds then
if not vLayIds or #vLayIds == 0 then
EgtOutBox( 'Error missing slices', 'GcodeGenerate')
return
end