Fix for some blender builds thanks to Mokscha from blenderartists.
Fix bug with incorrect weave offsets.