Page MenuHome

Node Wrangler does not set relative paths for images using Add Texture Setup (Ctrl+Shift+T)
Closed, ResolvedPublicTO DO

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.80 (sub 57), branch: master, commit date: 2019-04-14 19:18, hash: rB860a9f979d60
Worked: (optional)

Short description of error
Objects with textures set using node wranglers Add Texture Setup will break when moved to another computer.

Exact steps for others to reproduce the error
When doing the Add Texture Setup (Ctrl+Shift+T) in Node Wrangler on a principled shader the Relative Path and Detect Sequences options are not visible. After setting one or more textures this way, saving the file, then moving it to another computer the textures will not be linked and the mesh will turn purple, so I assume it is making absolute paths by default.

I've attached a simple scene with two cubes, one has its BaseColor texture set using Node Wrangler, the other is manually set. I've tested this on a coworker's computer and the Node Wrangler cube's texture breaks but the manually set texture works.

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.

Think it is probably better to switch this to relative by default (or even tweak the operator to give you the choice, need to check...)

Setting this to TODO though [since this is not really a bug, but more like a improvement...]

I took a crack at this since it's been a while. Any comments on the implementation are welcome in the revision :)

Sorry this has been lying around for so long, commented in the Differential... thx again!