-
Notifications
You must be signed in to change notification settings - Fork 129
bugfix/image plane load error #4222
bugfix/image plane load error #4222
Conversation
Task linked: OP-3304 Maya: image plane load error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error with frame.extension
is not showing anymore so its fixed but there is still other issue with frame offset
being wrong set to 1000
.
When manually set to correct value (zero) the image sequence being correctly set and visible.
Could be also just an issue in maya2023
not maya2022
.
I think its necessary to keep default frame offset
at zero value.
Tested it again in |
@LiborBatek can you check all items mentioned in the original issue #3256 |
set the frame offset to zero by default
I will remove or set the frameoffset to zero but maybe need to wait because currently i can't really commit to the code and it seems that I dont have the access right to push the latest codes to the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did all tests in maya2022
and maya2023
now all correct. frame offset
being kept at zero
value. Also tested to load multiple imagePlanes on the same camera
and all worked fine.
Went through old PRs to see if anything was not left out for consideration. Seems ok to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cancel button is still not working
Traceback (most recent call last):
File "D:\REPO\OpenPype\openpype\tools\loader\widgets.py", line 1578, in _load_representations_by_loader
options=options
File "D:\REPO\OpenPype\openpype\pipeline\load\utils.py", line 299, in load_with_repre_context
return loader.load(repre_context, name, namespace, options)
File "D:\REPO\OpenPype\openpype\hosts\maya\plugins\load\load_image_plane.py", line 112, in load
camera = camera_names[window.camera]
KeyError: None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's try the simplest way to just close the dialog to see if it can be "closed" by cancel button and also cancel to choose any camera. It is in the updated PR, and it is supposed that the cancelButton can be closed as usual. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the Cancel
button works now . . . :)
try: | ||
camera = camera_names[window.camera] | ||
except KeyError: | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try: | |
camera = camera_names[window.camera] | |
except KeyError: | |
pass | |
# Skip if no camera was selected (Dialog was closed) | |
if window.camera not in camera_names: | |
return | |
camera = camera_names[window.camera] |
Brief description
Fix the image plane load error
Description
Fix the bugs and remove some attributes according to #3256
Additional info
No additional info
Testing notes: