Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import bpy
  2.  
  3. def add_subframe_to_fo_path(scene):
  4. if scene.name == 'SceneName':
  5. scene.node_tree.nodes['File Output'].base_path = '//sth/' + str(scene.frame_current) + '-' + str(scene.frame_subframe)
  6.  
  7.  
  8. bpy.app.handlers.render_pre.append(add_subframe_to_fo_path)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement