ability to have permanent callbacks that stay active when new blend files are loaded.
[blender.git] / source / blender / render / intern / source / convertblender.c
index 5968a6e64f82cb9aa679af8de21d1b878ca66ecc..7ef726a53302d37720f6b200f6b442856beed4a6 100644 (file)
@@ -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){
-               add_v3_v3v3(temp, obt->size, obt->dsize);
+               mul_v3_v3v3(temp, obt->size, obt->dsize);
                scale[0]*=temp[0]; scale[1]*=temp[1]; scale[2]*=temp[2];
                obt=obt->parent;
        }