diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-21 15:50:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-21 15:50:05 +0300 |
commit | 6ec05eb3e6aad4f774863c64b59bbbdce8da0ad5 (patch) | |
tree | f1f6e23dae1a8dfcc7b90964d17ef4d03ee58a96 /source/blender | |
parent | 578cc2143d36d1d4ab3ef9583a5b207034b01f89 (diff) |
Code cleanup: Use bools instead of int
Diffstat (limited to 'source/blender')
-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) |