diff options
author | Ton Roosendaal <ton@blender.org> | 2007-01-25 23:48:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-01-25 23:48:06 +0300 |
commit | 8de165ff562ccac18b8ff3057797147129a062bf (patch) | |
tree | f3288340784c8b4ca9a22b385764aec29ced1118 | |
parent | 148a74988e33fd6b6b085ecca0bda6e2927a702e (diff) |
Bugfix #5832
Bake-render crashed when renderer was not "Intern".
-rw-r--r-- | source/blender/src/meshtools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/meshtools.c b/source/blender/src/meshtools.c index 922b00e5cfc..b4be2c4f99f 100644 --- a/source/blender/src/meshtools.c +++ b/source/blender/src/meshtools.c @@ -801,6 +801,10 @@ void objects_bake_render(short event) if(event==0) event= G.scene->r.bake_mode; + if(G.scene->r.renderer!=R_INTERN) { + error("Bake only supported for Internal Renderer"); + return; + } if(event>0) { Render *re= RE_NewRender("_Bake View_"); ScrArea *area= biggest_image_area(); |