Page MenuHome

Closed, ResolvedPublic


System Information
WIN8.1x64 GPU=2xGTX770-4GiB

Blender Version
Broken: 2.76b f337fea

Short description of error
Exporter works just fine when
bpy.context.scene.render.filepath is absolute
and does nothing when relative

Exact steps for others to reproduce the error
Based on a attached .blend file with minimum amount of steps

Just change output from relative to absolute.



Event Timeline

Maciej (ethoriell) added a project: Addons.
Maciej (ethoriell) set Type to Bug.
Maciej (ethoriell) created this task.
Maciej (ethoriell) raised the priority of this task from to Needs Triage by Developer.
Sergey Sharybin (sergey) triaged this task as Normal priority.Mar 22 2016, 2:35 PM

I've check the blend file and manage to fix this issue, please check the diff below

Brendon Murphy (meta-androcto) raised the priority of this task from Normal to Unbreak Now!.Aug 13 2016, 3:01 PM

Sorry that this took so long

The patch by @Aditia A. Pratama (aditiapratama) does not work correctly for me: it uses the location of where the blender executable is called instead of
the location of the current file as the base for a relative path. This also makes me wonder what the correct semantics would be,
currently I think:

  • if the file is saved, use the location of the current file
  • otherwise, use the location of the blender executable

I guess that for most artists, these two locations are the same. For developers this is not the case. I will try to have this fixed later today.

closed by commit rBAfab62e930cce2a465b644be9291aa25b4c0c0a9c

I am not able to test this on windows at the moment. I assume Python solves any problems, but a windows test would still be much appreciated.