RenderEngine/Nodes: system to check for shading nodes compatibility

* Scene.use_shading_nodes property to check if RenderEngine is using new shading
  nodes system, and RenderEngine.bl_use_shading_nodes to set this.
* Add mechanism for tagging nodes as being compatible with the old/new system.
This commit is contained in:
2011-11-02 19:24:30 +00:00
parent 30f1f28a8a
commit ac52c79cb1
31 changed files with 121 additions and 21 deletions

View File

@@ -51,6 +51,7 @@ struct Scene;
#define RE_GAME 2
#define RE_USE_PREVIEW 4
#define RE_USE_POSTPROCESS 8
#define RE_USE_SHADING_NODES 16
/* RenderEngine.flag */
#define RE_ENGINE_ANIMATION 1