svn merge -r 12937:13095 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / src / editparticle.c
index f07012c463db481b997a1b398f91f2c901a98d53..2c05daa189564e601a8e37a59d5bc9f56468bbe5 100644 (file)
@@ -601,11 +601,11 @@ static void PE_mirror_particle(Object *ob, DerivedMesh *dm, ParticleSystem *psys
        edit= psys->edit;
        i= pa - psys->particles;
 
+       if(!edit->mirror_cache)
+               PE_update_mirror_cache(ob, psys);
+
        /* find mirrored particle if needed */
        if(!mpa) {
-               if(!edit->mirror_cache)
-                       PE_update_mirror_cache(ob, psys);
-
                mi= edit->mirror_cache[i];
                if(mi == -1)
                        return;