svn merge -r41575:41602 ^/trunk/blender
[blender.git] / source / blender / modifiers / intern / MOD_particleinstance.c
index eae7dcef26d57e3e876ff8a2751af41cf0e7e873..1b9c0061494daf7ed7a2486bd4adef56839410bb 100644 (file)
@@ -257,7 +257,7 @@ static DerivedMesh * applyModifier(ModifierData *md, Object *ob,
                mul_qt_v3(state.rot,mv->co);
                if(pimd->flag & eParticleInstanceFlag_UseSize)
                        mul_v3_fl(mv->co, size[i/totvert]);
-               VECADD(mv->co,mv->co,state.co);
+               add_v3_v3(mv->co, state.co);
        }
 
        mface=result->getTessFaceArray(result);