Fix: compile error due to non-matching type and strict flags for MSVC9

This fixes a small compile error where MSVC9 complains about conversion from int to unsigned char.
This commit is contained in:
Andrea Weikert 2014-02-16 15:47:08 +01:00
parent 191183b304
commit 6c7f9f67fd
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ static void make_duplis_faces(const DupliContext *ctx)
bool for_render = ctx->eval_ctx->for_render;
FaceDupliData fdd;
fdd.use_scale = parent->transflag & OB_DUPLIFACES_SCALE;
fdd.use_scale = ((parent->transflag & OB_DUPLIFACES_SCALE) != 0);
/* gather mesh info */
{