Created
August 24, 2016 21:16
-
-
Save Pullusb/cf8eefbe25028f6daba0e2fedd0598b2 to your computer and use it in GitHub Desktop.
Blender script - set the filename after active camera name (keeping head path)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from os.path import join, split | |
C = bpy.context | |
C.scene.render.filepath = join(split(C.scene.render.filepath)[0] + C.scene.camera.name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment