Skip to content

Commit

Permalink
feat(iv): OCIO - formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>
  • Loading branch information
antond-weta committed Oct 19, 2023
1 parent 8dcd1ed commit 8797d20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/iv/ivgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1639,8 +1639,7 @@ IvGL::update_ocio_state()

OCIO::OptimizationFlags ocio_optimization;

switch (m_viewer.ocioOptimization())
{
switch (m_viewer.ocioOptimization()) {
case ImageViewer::OCIO_OPTIMIZATION_NONE:
ocio_optimization = OCIO::OPTIMIZATION_NONE;
break;
Expand Down Expand Up @@ -1696,7 +1695,7 @@ IvGL::update_ocio_state()
processor
= viewingPipeline->getProcessor(config,
config->getCurrentContext());
} catch ( const OCIO::Exception & e ) {
} catch ( const OCIO::Exception& e ) {
on_ocio_error(e.what());
return;
}
Expand Down

0 comments on commit 8797d20

Please sign in to comment.