diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-24 19:05:40 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-24 19:05:40 +0400 |
commit | a4f40416f50bc2de49fa027950e33abc73d9d3c3 (patch) | |
tree | 49224679d93c2635a1567e5fa99960deea0e2c9b | |
parent | b18ef3b8fb0836a7da900ee8458761027d0bc10f (diff) |
Fix material node editor not working when Blender Game is selected as render engine.
-rw-r--r-- | source/blender/nodes/shader/node_shader_tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index c9b18009b71..47d3855e86f 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -69,6 +69,7 @@ static int shader_tree_poll(const bContext *C, bNodeTreeType *UNUSED(treetype)) /* allow empty engine string too, this is from older versions that didn't have registerable engines yet */ return (scene->r.engine[0] == '\0' || strcmp(scene->r.engine, "BLENDER_RENDER")==0 + || strcmp(scene->r.engine, "BLENDER_GAME")==0 || strcmp(scene->r.engine, "CYCLES")==0); } |