31e3f6a0df6de177964252b753d5b2ce2b173b7e
[blender.git] / release / scripts / startup / freestyle_builtins.py
1 import bpy
2
3 from export_svg import svg_export_header, svg_export_animation
4
5 def register():
6     bpy.app.handlers.render_init.append(svg_export_header)
7     bpy.app.handlers.render_complete.append(svg_export_animation)
8
9 def unregister():
10     bpy.app.handlers.render_init.remove(svg_export_header)
11     bpy.app.handlers.render_complete.remove(svg_export_animation)
12
13 if __name__ == '__main__':
14     register()