Author Topic: Blender BLB Tools - Imported .blb has messed up textures/UVs  (Read 988 times)

I stumbled upon this great Blender plugin - http://forum.blockland.us/index.php?topic=244029.0

But whenever I import a brick, or a save, the UVs on the bricks are completely wonky.



I'm wondering if anyone has this issue, and if there's a fix for it?

I'm looking to do some animating, and need some bricks for some back shots, so help would be great.

The version of Blender that I'm using is v2.76.

open it to find this nonsense

    NewFace.loops[3][Layer].uv = ( UV1[0] , UV1[1] )
    NewFace.loops[0][Layer].uv = ( UV2[0] , UV2[1] )
    NewFace.loops[1][Layer].uv = ( UV3[0] , UV3[1] )
    NewFace.loops[2][Layer].uv = ( UV4[0] , UV4[1] )


replace with

    NewFace.loops[0][Layer].uv = ( UV1[0] , UV1[1] )
    NewFace.loops[1][Layer].uv = ( UV2[0] , UV2[1] )
    NewFace.loops[2][Layer].uv = ( UV3[0] , UV3[1] )
    NewFace.loops[3][Layer].uv = ( UV4[0] , UV4[1] )

I don't quite understand what you mean?

What am I opening? The .blb itself?

If so, I can't find any text similar to what you posted.

the script, obviously

That fixed it perfectly. Thanks a ton mate!