From f0a8a93292b25e8a6bcf1809b4ab623310a3b28d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 31 Mar 2005 15:44:05 +0000 Subject: - removed USE_CCGSUBSURF define (always on now) - added G.editMesh->derived pointer... idea is to use this for mesh derived from editmesh instead of Mesh->derived (as the derived mesh tends to vary depending on what it came from). This part could be cleaner, also there may problems with it not being invalidated correctly. - And most importantly: In case people were beginning to worry all these edits were just crazy zr stuff, the big point comes about: Incremental subsurf calculation is now enabled. This gives massive speed improvements when editing a large mesh. For the eye-candy happy: try setting G.rt==52 before entering editmode and the edges and vertices (in optimal mode) will switch to displaying visually the age since a region has last been calculated. Lots of fun! --- source/blender/blenlib/BLI_editVert.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenlib/BLI_editVert.h') diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index 51daf7d0a98..ffc2a3b424e 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -38,6 +38,8 @@ #ifndef BLI_EDITVERT_H #define BLI_EDITVERT_H +struct DerivedMesh; + /* note; changing this also might affect the undo copy in editmesh.c */ typedef struct EditVert { @@ -99,6 +101,7 @@ typedef struct EditMesh EditEdge *alledges, *curedge; EditFace *allfaces, *curface; + struct DerivedMesh *derived; } EditMesh; #endif -- cgit v1.2.3