3D engine that AI agents drive
Keep the motion settings message prefix the job tests pin (part of #339)
Nguyen Xuan An09280be56515
diff --git a/scripts/agent-render-jobs.mjs b/scripts/agent-render-jobs.mjsindex e7f81eaa..51d63d8b 100644--- a/scripts/agent-render-jobs.mjs+++ b/scripts/agent-render-jobs.mjs@@ -114,7 +114,7 @@ function settingsFrom(input, clips, recipe) {// A map sequence reads the same clock.const sequenced = JSON.stringify(recipe?.materials ?? []).includes('"sequence":{');if (!['67js.scene', '67js.asset'].includes(recipe?.format) || (!recipe.motion && !placesClips && !sequenced)) {- throw new RangeError('Motion settings require a recipe with authored motion, a placed clip or a map sequence.');+ throw new RangeError('Motion settings require a recipe with authored motion or a placed clip (or a map sequence).');}const motionDuration = recipe.motion ? boundedNumber(recipe.motion.duration, 0.1, 30, 'motion duration') : undefined;if (recipe.motion?.loop !== undefined && typeof recipe.motion.loop !== 'boolean') {