Using displacement mapping caused VectorBlur (speed vectors) to go haywire.
This commit is contained in:
2006-06-04 17:22:19 +00:00
parent 3a77069fe7
commit 86af9a0065

View File

@@ -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);