Running save_as_mainfile breaks relative texture paths #33108
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#33108
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates to: #32734
%%%When running save_as_mainfile, the relative texture paths for Cycles textures get changed to a invalid paths.
How to recreate:
The /tmp/foo.blend file that is saved out has working texture paths, but not the original one. In the original file the texture path has gone from:
//../txtr/kermit.jpg
//../home/ragtag/project/txtr/kermit.jpg
Alternately, if you set relative_remap to False, the reverse is true. Your original file remains intact, but the texture paths in the copy file (/tmp/foo.blend) are broken.
Tested using both official release blender-2.64a-linux-glibc27-x86_64 and blender-2.64-r51699-linux-glibc27-x86_64 on Ubuntu 12.04 64-bit using AMD Radeon HD 5800 graphix card.
Bug #32734 seems like it might possibly be related.
Note that this only happens with Cycles textures, not Blender Internal Render textures.
%%%
Changed status to: 'Open'
%%%fixed r51963.%%%
Changed status from 'Open' to: 'Resolved'
Added subscriber: @JonasEschenburg