Commit f202033
committed
ocio: don't discard shader view when display is empty (offscreen renders)
Same defect as the process_thumbnail fix (4a0d5c76), second site:
display_transform() reset both display AND view to the config defaults
whenever either was empty. Offscreen/snapshot viewport pipeline
instances always have an empty Display attribute, so a valid resolved
view (e.g. 'raw' for un-tone-mapped media) was replaced by the default
Client-look view, double-grading annotation exports and any offscreen
render. Fill display and view independently instead.
(cherry picked from commit e53a9849fc764cb25b25d2f05120cc30d7511b47)1 parent 7991f45 commit f202033
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
598 | 604 | | |
599 | | - | |
600 | | - | |
| 605 | + | |
| 606 | + | |
601 | 607 | | |
602 | 608 | | |
603 | 609 | | |
| |||
0 commit comments