dont use tface hide or select anymore, since maintaining 2 sets of hide/select data for each face is annoying.

using mface->flag for both.

Also found that the cdDM_drawMappedFaces and cdDM_drawFacesTex_common could get normals mixed up when rendering hidden faces. because hidden/invisible faces used continue without advancing to the next normal.
This commit is contained in:
2007-04-29 13:39:46 +00:00
parent 243d1a28c0
commit 99135b0674
38 changed files with 292 additions and 374 deletions

View File

@@ -58,8 +58,8 @@ done once.
@var FaceFlags: The available *texture face* (uv face select mode) selection
flags. Note: these refer to TexFace faces, available if mesh.faceUV
returns true.
- SELECT - selected.
- HIDE - hidden.
- SELECT - selected (deprecated in versions after 2.43, use face.sel).
- HIDE - hidden (deprecated in versions after 2.43, use face.hide).
- ACTIVE - the active face, read only - Use L{mesh.activeFace<Mesh.Mesh.activeFace>} to set.
@var FaceModes: The available *texture face* modes. Note: these are only
meaningful if mesh.faceUV returns true, since in Blender this info is