Fix #29411: displacement texture not working anymore, seems part of delta

scale patch got accidentally committed in revision 41485, reverted now.
This commit is contained in:
Brecht Van Lommel 2011-11-29 12:12:12 +00:00
parent f62ad8f69b
commit 93f455dab6

@ -2391,7 +2391,7 @@ static void do_displacement(Render *re, ObjectRen *obr, float mat[][4], float im
/* Object Size with parenting */
obt=obr->ob;
while(obt){
mul_v3_v3v3(temp, obt->size, obt->dsize);
add_v3_v3v3(temp, obt->size, obt->dsize);
scale[0]*=temp[0]; scale[1]*=temp[1]; scale[2]*=temp[2];
obt=obt->parent;
}