BProjection remove a smal bug in apply image
authorGeo Kgeo <kgeogeo@hotmail.com>
Thu, 22 Mar 2012 14:13:35 +0000 (14:13 +0000)
committerGeo Kgeo <kgeogeo@hotmail.com>
Thu, 22 Mar 2012 14:13:35 +0000 (14:13 +0000)
space_view3d_paint_bprojection.py

index 0b24233947abaf666af0852e4c43c6809a903a46..14edce6fb806efc5b566159a8f60838eec1e69ed 100644 (file)
@@ -302,7 +302,7 @@ class ApplyImage(Operator):
         vglen = trunc(pow(nbcut+1, 2))
         
         for i in range(vglen):  
-            uvdata[f[nbface-i-1-1].index].image = img
+            uvdata[f[nbface-i-1].index].image = img
         
         if wasnul == False:
             bpy.ops.object.editmode_toggle()
@@ -868,4 +868,4 @@ def unregister():
 if __name__ == "__main__":
     register()
    
-       
\ No newline at end of file
+