diff options
-rw-r--r-- | source/blender/render/intern/source/external_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/external_engine.c b/source/blender/render/intern/source/external_engine.c index 23ca376535e..4e63a9918e1 100644 --- a/source/blender/render/intern/source/external_engine.c +++ b/source/blender/render/intern/source/external_engine.c @@ -440,7 +440,7 @@ bool RE_bake_engine( { RenderEngineType *type = RE_engines_find(re->r.engine); RenderEngine *engine; - int persistent_data = re->r.mode & R_PERSISTENT_DATA; + bool persistent_data = (re->r.mode & R_PERSISTENT_DATA) != 0; /* set render info */ re->i.cfra = re->scene->r.cfra; @@ -532,7 +532,7 @@ int RE_engine_render(Render *re, int do_all) { RenderEngineType *type = RE_engines_find(re->r.engine); RenderEngine *engine; - int persistent_data = re->r.mode & R_PERSISTENT_DATA; + bool persistent_data = (re->r.mode & R_PERSISTENT_DATA) != 0; /* verify if we can render */ if (!type->render) |