Page MenuHome

wrong relative path when saving to startup file
Confirmed, NormalPublic

Description

System Information
Operating system: Linux-4.15.0-112-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
Worked: (newest version of Blender that worked as expected)

Short description of error
If you start Blender, add an image texture (with an absolute path) to a material, then save that to the start up file, the path will be wrong and the image won't load when restarting Blender.
This seems to have to do with the save ops Relative Remap, because if you first save somewhere else with Relative Remap disabled, then save to the startup file it works.

So maybe wm.save_homefile shouldn't have Relative Remap enabled?

You can also reproduce this(or similar?) behavior when saving the attached blend file as the startup file.

Exact steps for others to reproduce the error

  • start Blender
  • add a material and image texture to some object
  • save as the startup file and restart blender or create a new blend

alternatively:

  • load the attached blend
  • save that as your startup file

Event Timeline

MACHIN3 (MACHIN3) updated the task description. (Show Details)
MACHIN3 (MACHIN3) updated the task description. (Show Details)
MACHIN3 (MACHIN3) updated the task description. (Show Details)
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Tue, Sep 8, 3:41 AM