Skip to content
Snippets Groups Projects
Commit fab62e93 authored by Folkert de Vries's avatar Folkert de Vries
Browse files

Freestyle SVG export: handle relative paths

Previously, relative paths were not handled well. The result was an
error in the console and no output at the expected location.

The path resolving order is as follows:

* use the given path (scene.render.frame_path()) when it is absolute
* otherwise, try to join with the current blendfile's location
* otherwise, try to join with the folder from which blender was called

Tested on linux, but not on Windows
parent ad111ff5
No related branches found
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment