Alembic Import does not respect remap relative
Open, NormalPublic

Description

System Information
Windows 10 GTX 1080

Blender Version
Broken: 2.79 e5327af
Worked: (optional)

Short description of error
Save with remap relative paths option is not respected for Alembic imports. Images for example are automatically changed to relative paths with this option.
Exact steps for others to reproduce the error
Import an Alembic, save with remap relative option.

Details

Type
Bug
Vaughan Ling (heavypoly) renamed this task from Alembic Does not respect relative paths to Alembic Import does not respect remap relative.Apr 20 2018, 5:53 AM
Vaughan Ling (heavypoly) updated the task description. (Show Details)
Vaughan Ling (heavypoly) updated the task description. (Show Details)
Vaughan Ling (heavypoly) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) triaged this task as Incomplete priority.Apr 20 2018, 10:19 AM

Cannot reproduce (unless I am misunderstanding something here).

You are talking about the paths in the Mesh Sequence Cache modifier and the Transform Cache constraint, right?

If I import an alembic these are set to absolute paths, if I then save the .blend [without saving before] with the Remap Relative option, these get relative paths as expected.
If I save the .blend in a different directory with the Remap Relative option, the paths get remapped as expected as well

Could you provide exact steps to reproduce the issue [uploading a .blend or .abc if neccessary]?
Also see the manual

Marking as incomplete for now...

I found more detail on the problem:

Remap relative with alembics that were exported with Blender - Works
Remap relative with mesh cache exported from Maya - Works
Remap relative with transform cache (empty, no mesh data) exported from Maya - Doesn't work, and causes other previously working mesh caches to not remap relative


Still cannot reproduce:

  • I open your .blend
  • I open my downloaded TWI_CLB_0015_locator_baked_head.abc in the Transform Cache Constraint [was set to C:/Users/kakapoopie/Dropbox (The Witness)/TWI/Crews/VaughanLing/CLB_0010/Alembic/TWI_CLB_0015_locator_baked_head.abc -- thats obviously not valid on my machine, it's now somthing like /Downloads/Blender Bugtracker/54734/TWI_CLB_0015_locator_baked_head.abc]
  • If I save the .blend in a different directory with the Remap Relative option, the path gets remapped as expected as well
  • If I import TWI_CLB_0015_locator_baked_head.abc into a new file and SaveAs, path gets relative as expected

@Vaughan Ling (heavypoly): could you confirm it is working as I described above?

Found another detail to the problem. Remap relative works properly if I import an alembic. If I import 2 alembics, the 2nd imported does not remap relative, while the first imported does. (These alembics are coming from Maya)

Bastien Montagne (mont29) raised the priority of this task from Incomplete to Normal.Jul 12 2018, 4:24 PM

@Sybren A. Stüvel (sybren), I’ll let you handle this, should be your playground :)