Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-03-31 19:44:05 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-31 19:44:05 +0400
commitf0a8a93292b25e8a6bcf1809b4ab623310a3b28d (patch)
tree103559a6971abdb9e5b39d538cd4c3669ddb74ef /source/blender/blenlib/BLI_editVert.h
parent0d35a1dd1e1422beb7eec412bcca5d09199d756e (diff)
- 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!
Diffstat (limited to 'source/blender/blenlib/BLI_editVert.h')
-rw-r--r--source/blender/blenlib/BLI_editVert.h3
1 files changed, 3 insertions, 0 deletions
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