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:
parent
191183b304
commit
6c7f9f67fd
|
@ -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 */
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue