Blender Git Commit Log

Git Commits -> Revision ef107d1

Revision ef107d1 by Sergey Sharybin (master)
October 4, 2012, 13:39 (GMT)
Color Management: fallback to stub ocio implementation in cases when
ocio configuration file failed to load

This solves issues with infinite NULL-checks to prevent crashes in
such situations. Currently only happens if there's no configuration
file at all, but could be tweaked further to fallback if this file
isn't usable by blender.

Commit Details:

Full Hash: ef107d1a4d75ffc5645505867efec6b39b114d50
SVN Revision: 51041
Parent Commit: d8144ef
Lines Changed: +1492, -1001

4 Added Paths:

/intern/opencolorio/fallback_impl.cc (+384, -0) (View)
/intern/opencolorio/ocio_capi.cc (+286, -0) (View)
/intern/opencolorio/ocio_impl.cc (+541, -0) (View)
/intern/opencolorio/ocio_impl.h (+240, -0) (View)

2 Deleted Paths:

/intern/opencolorio/ocio_capi.cpp (+0, -546)
/intern/opencolorio/ocio_capi_stub.cpp (+0, -390)

4 Modified Paths:

/intern/opencolorio/CMakeLists.txt (+15, -16) (Diff)
/intern/opencolorio/ocio_capi.h (+4, -5) (Diff)
/intern/opencolorio/SConscript (+5, -5) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+17, -39) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021