coolzilj / Blender-ControlNet

Using ControlNet right in Blender.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't render image if timeline's frame !=0

kelheor opened this issue · comments

Instead of writing
comp_output_depth_filename = "depth0000.png"
you need to write something like that:
"depth" + f"{bpy.context.scene.frame_current}".zfill(4) + ".png"
Otherwise, if timeline's frame != 0 (it happened to me, when I set pose for character from animation), then you will get error that depth/seg image not found.

thx, fixed in 3e6f2c0