Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt Ebb)

This commit is contained in:
2010-06-18 11:36:51 +00:00
parent e4c9381f14
commit 61b0a5bdb5

View File

@@ -777,7 +777,7 @@ static void do_texture_effector(EffectorCache *eff, EffectorData *efd, EffectedP
}
if(eff->pd->flag & PFIELD_TEX_OBJECT) {
mul_mat3_m4_v3(eff->ob->obmat, tex_co);
mul_m4_v3(eff->ob->obmat, tex_co);
}
hasrgb = multitex_ext(eff->pd->tex, tex_co, NULL,NULL, 0, result);