You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ocioview Error]: 'ProcessorContext' object has no attribute 'direction'
Traceback (most recent call last):
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer_dock.py", line 111, in load_image
image_viewer.load_image(image_path=image_path)
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer/image_viewer.py", line 330, in load_image
self.image_plane.load_image(image_path)
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer/image_plane.py", line 355, in load_image
self._ocio_proc_context.direction,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ProcessorContext' object has no attribute 'direction'
<LogRecord: ocioview, 40, /Volumes/ws/ocio/dev/source/src/apps/ocioview/main.py, 26, "[ocioview Error]: 'ProcessorContext' object has no attribute 'direction'
Traceback (most recent call last):
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer_dock.py", line 111, in load_image
image_viewer.load_image(image_path=image_path)
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer/image_viewer.py", line 330, in load_image
self.image_plane.load_image(image_path)
File "/Volumes/ws/ocio/dev/source/src/apps/ocioview/ocioview/viewer/image_plane.py", line 355, in load_image
self._ocio_proc_context.direction,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ProcessorContext' object has no attribute 'direction'">
After the recent changes committed for ocioview I can no longer load an image. The following error is printed in the Terminal when I attempt this.
I believe the problem is here...
OpenColorIO/src/apps/ocioview/ocioview/viewer/image_plane.py
Line 355 in 7e91b0e
It seems the fix is simply...
(I've tested this locally and it works).
From referring to...
OpenColorIO/src/apps/ocioview/ocioview/processor_context.py
Line 27 in 7e91b0e
@michdolan If this is all that's required I'm happy to create a PR with this simple change.
The text was updated successfully, but these errors were encountered: