diff --git a/loom.py b/loom.py index 9ff8aab..a502807 100644 --- a/loom.py +++ b/loom.py @@ -3888,13 +3888,13 @@ def start_render(self, scene, frame, silent=False): print("Skipped frame: {} (already exists)".format(frame)) else: if rndr.use_placeholder and not os.path.isfile(rndr.filepath): + os.makedirs(os.path.dirname(rndr.filepath), exist_ok=True) open(rndr.filepath, 'a').close() if silent: bpy.ops.render.render(write_still=True) else: bpy.ops.render.render("INVOKE_DEFAULT", write_still=True) - if frame not in self._rendered_frames: self._rendered_frames.append(frame)