Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt...
authorJanne Karhu <jhkarh@gmail.com>
Fri, 18 Jun 2010 11:36:51 +0000 (11:36 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Fri, 18 Jun 2010 11:36:51 +0000 (11:36 +0000)
source/blender/blenkernel/intern/effect.c

index c780971c3fa3bb67237caff84de0a1282a3bd7fc..e9283ea867e59a8618d6a8d59c9a804d4e9b3cff 100644 (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);