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:
@@ -2391,7 +2391,7 @@ static void do_displacement(Render *re, ObjectRen *obr, float mat[][4], float im
|
|||||||
/* Object Size with parenting */
|
/* Object Size with parenting */
|
||||||
obt=obr->ob;
|
obt=obr->ob;
|
||||||
while(obt){
|
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];
|
scale[0]*=temp[0]; scale[1]*=temp[1]; scale[2]*=temp[2];
|
||||||
obt=obt->parent;
|
obt=obt->parent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user