Fix #4269
Using displacement mapping caused VectorBlur (speed vectors) to go haywire.
This commit is contained in:
@@ -1619,10 +1619,12 @@ static void init_render_mesh(Render *re, Object *ob, int only_verts)
|
||||
}
|
||||
}
|
||||
|
||||
/* check autosmooth, we then have to skip only-verts optimize */
|
||||
/* check autosmooth and displacement, we then have to skip only-verts optimize */
|
||||
do_autosmooth |= (me->flag & ME_AUTOSMOOTH);
|
||||
if(do_autosmooth)
|
||||
only_verts= 0;
|
||||
if(test_for_displace(re, ob ) )
|
||||
only_verts= 0;
|
||||
|
||||
if(!only_verts)
|
||||
if(need_orco) orco = get_object_orco(re, ob);
|
||||
|
||||
Reference in New Issue
Block a user