[Bf-python] uv coorpoint pinning status

Toni Alatalo antont at kyperjokki.fi
Tue Jan 31 22:27:02 CET 2006


it would be good to add uv pinning status preservation to the uvcopy script i 
just committed - is it exposed anywhere? i could not find in NMesh nor Mesh, 
nor elsewhere. Matt is telling that it is in some TFace struct,  
http://astro.scu.edu/~ted/oss/blender/bf-dox/df/de0/structTFace.html

typedef struct TFace {
       /* this one gets interpreted as a image in texture.c  */
       void *tpage;

       float uv[4][2];         /* when you change this: also do function          
set_correct_uv in editmesh.c, and there are more locations that use the size 
of this part */
 
      unsigned int col[4];
      char flag, transp;
      short mode, tile, unwrap;
} TFace;

.. is not urgent, but would be nice to have for uvcopy version 0.3 :)
(orange can continue with the 0.2 in cvs now)

~Toni



More information about the Bf-python mailing list