**System Information**
Windows 10
NVIDIA GeForce GTX 460M
**Blender Version**
Blender 2.78,a,b
**Short description of error**
overlap() failing to detect intersection of intersecting objects randomly when the objects are copied and distributed, however it succeeds when running independently (scripts included).
**Exact steps for others to reproduce the error**
I have included a .blend file with two scripts, first one makes copies of objects on one of the selected planes. The overlap() function fails when a copy of an object is rotated. However, when running the second script with exact same overlap detection it works fine. Please see the blend file it includes more instructions for reproducing the error.
In summary: bmesh location updates, but bmesh rotation does not until after the script ends.
{F489388}
{F489387}
{F489386}