Go to file
Sergey Sharybin 28604c46a1 Cycles: Make Blender importer more forward compatible
Basically the idea is to make code robust against extending
enum options in the future by falling back to a known safe
default setting when RNA is set to something unknown.

While this approach solves the issues similar to T47377,
but it wouldn't really help when/if any of the RNA values
gets ever deprecated and removed. There'll be no simple
solution to that apart from defining explicit mapping from
RNA value to Cycles one.

Another part which isn't so great actually is that we now
have to have some enum guards and give some explicit values
to the enum items, but we can live with that perhaps.

Reviewers: dingto, juicyfruit, lukasstockner97, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1785
2016-02-12 15:27:33 +01:00
build_files install_deps: fix boost installation on Fedora/Suze & co. 2016-02-11 10:21:27 +01:00
doc Fix RenderEngine API docs 2016-02-08 20:35:32 +11:00
extern Imbuf: remove libredcode 2016-02-03 18:39:37 +11:00
intern Cycles: Make Blender importer more forward compatible 2016-02-12 15:27:33 +01:00
release Fix T47314: Misaligned DataBlock Previews for groups with custom center coordinates 2016-02-11 17:34:08 +01:00
source Fix: OSX - Cmd + A doesn't work for Font objects editing 2016-02-12 11:58:43 -02:00
tests Fix gtests on Windows/MSVC 2016-02-06 21:21:55 +05:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Git ignore BUILD_NOTES.txt from install_deps.sh. 2015-11-23 20:17:02 +01:00
.gitmodules Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt Windows MSVC allow building with openvdb / tbb 2016-02-10 13:59:04 +01:00
COPYING
GNUmakefile Minor edits to sync make.bat & makefile 2016-01-04 20:42:00 +11:00
make.bat Fix make.bat checking 64bit systems 2016-02-10 00:26:12 +11:00