Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy/Paste Camera on Windows - Pasting into 3DEqualizer adds backslash before file name #162

Closed
david-cattermole opened this issue Oct 14, 2020 · 1 comment
Assignees
Labels
3dequalizer tool Tool for use in 3DEqualizer bug maya tool A user tool inside Maya.
Milestone

Comments

@david-cattermole
Copy link
Owner

Problem

When pasting a camera from Maya to 3DEqualizer on Windows, the file path contains a backslash just before the file name.
This leads to 3DEqualizer not finding the file. The user must manually replace "" with "/".
This is not an ideal workflow.

Expected behavior:
The file path pasted into 3DEqualizer should load a valid image (sequence).

Actual behavior:
Valid image sequences are not correctly creating valid Windows file paths.
The forward/backslashes are not consistent and this is stopping 3DEqualizer from getting the correct path.

Steps to Reproduce

  1. Open Maya scene with camera and (valid) image plane.
  2. Select camera node, run shelf tool "mmSolver > IO > Copy/Paste Camera"
  3. Open 3DEqualizer, select camera, right-click and run "Paste Camera (mmSolver)...", a window will open
  4. Press "Paste" button, the image sequence should be visible in the 3DEqualizer window.

image

Software Versions

  • mmSolver version: v0.3.x
  • Maya version: All supported versions
  • Operating System (OS): Windows
@david-cattermole david-cattermole added bug maya tool A user tool inside Maya. 3dequalizer tool Tool for use in 3DEqualizer labels Oct 14, 2020
@david-cattermole david-cattermole added this to the v0.3.7 milestone Oct 14, 2020
@david-cattermole david-cattermole self-assigned this Oct 14, 2020
david-cattermole added a commit that referenced this issue Oct 15, 2020
... with forward slashes converted to backward slashes on
Microsoft Windows, and also converts the path to lower-case.
@david-cattermole
Copy link
Owner Author

This is fixed on the develop branch and will be included in v0.3.7.

The 'paste camera' script for 3DE was also modified and this can be released before v0.3.7.

During tests however, the backward or forward slash did not seem to make any difference to 3DE loading the file, so this bug appears to be cosmetic only.

However, sometimes 3DE does not load the path into the viewer, even though the metadata has clearly been loaded into the Attribute Editor. This bug seems to be unrelated to the cosmetic change but should be tested and reported upstream to Science D Visions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3dequalizer tool Tool for use in 3DEqualizer bug maya tool A user tool inside Maya.
Projects
None yet
Development

No branches or pull requests

1 participant