Blender Git Loki
Git Commits -> Revision 8c41c00
Revision 8c41c00 by Daniel Dunbar (master) August 18, 2005, 11:31 (GMT) |
- added DerivedMesh.drawUVEdges function & implementations - removed DerivedMesh.drawLooseEdges and replaced with much more general drawEdgesFlag function that draws based edge flags. - switch DerivedMesh.drawFacesTex to give user control over which faces are drawn - added object_uvs_changed and object_tface_flags_changed functions to do object recalc flag flush/redraw queueing and added calls in appropriate places - added various edge flags to mark TFace information. This is used by the drawEdgesFlag routine and was the best way I could come up with to deal with drawing TFace information from modifier stack. Unfortunate side effects are (1) uses a lot of MEdge flags (although not needed in file so thats fine) and (2) requires recalculation of modifier stack on UV selection changes. #2 is disappointing but I could not find a better solution. - update UV mesh shadow drawing to use modifier result. At the moment just uses the final result but probably should be integrated with the editmode cage option. - convert draw_tfaces3D to use drawEdgesFlag routine which cleaned up the code quite a bit. - convert draw_tface_mesh to draw using result of modifier stack. Same comment about which result actually gets draw in FACESELECT mode as for UV editor shadow drawing applies. There is a still a bug in that selection is using the wrong mesh to draw. |
Commit Details:
Full Hash: 8c41c00ff7b67f885f67af835f1228f0ba42a455
SVN Revision: 5132
Parent Commit: b774712
Lines Changed: +461, -291
15 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+7, -4) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+9, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+185, -41) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+86, -41) (Diff)
/source/blender/include/BDR_drawmesh.h (+0, -2) (Diff)
/source/blender/include/BIF_editsima.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+11, -5) (Diff)
/source/blender/src/buttons_editing.c (+1, -0) (Diff)
/source/blender/src/drawimage.c (+13, -2) (Diff)
/source/blender/src/drawmesh.c (+61, -147) (Diff)
/source/blender/src/drawobject.c (+1, -1) (Diff)
/source/blender/src/editface.c (+22, -26) (Diff)
/source/blender/src/editsima.c (+55, -20) (Diff)
/source/blender/src/header_image.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+9, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+185, -41) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+86, -41) (Diff)
/source/blender/include/BDR_drawmesh.h (+0, -2) (Diff)
/source/blender/include/BIF_editsima.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+11, -5) (Diff)
/source/blender/src/buttons_editing.c (+1, -0) (Diff)
/source/blender/src/drawimage.c (+13, -2) (Diff)
/source/blender/src/drawmesh.c (+61, -147) (Diff)
/source/blender/src/drawobject.c (+1, -1) (Diff)
/source/blender/src/editface.c (+22, -26) (Diff)
/source/blender/src/editsima.c (+55, -20) (Diff)
/source/blender/src/header_image.c (+4, -2) (Diff)