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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-29 06:50:46 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-29 06:50:46 +0300
commit54059f0ac1d9de04fbe26eaccaea83ed9e937b1b (patch)
tree72c617e1aab37b8b5c32dd0f20d4302623eb9a2d /source/blender/blenkernel/BKE_sculpt.h
parent2176f69602a680af3aafb9938d03d5ef9fd106a7 (diff)
* Brought back special normal recalc for sculpt (only recalculates modified faces/verts)
* Means that full object recalc isn't done, so multires works more as expected now * Moved mesh element cache back to sculpt session (from sculpt cache), really makes more sense there
Diffstat (limited to 'source/blender/blenkernel/BKE_sculpt.h')
-rw-r--r--source/blender/blenkernel/BKE_sculpt.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_sculpt.h b/source/blender/blenkernel/BKE_sculpt.h
index 7e5a6a3c01c..08db1ac632e 100644
--- a/source/blender/blenkernel/BKE_sculpt.h
+++ b/source/blender/blenkernel/BKE_sculpt.h
@@ -30,16 +30,22 @@
#ifndef BKE_SCULPT_H
#define BKE_SCULPT_H
-struct NumInput;
-struct RadialControl;
-struct Scene;
+struct MFace;
+struct MultireModifierData;
+struct MVert;
struct Sculpt;
-struct SculptSession;
struct StrokeCache;
typedef struct SculptSession {
struct ProjVert *projverts;
+ /* Mesh data (not copied) can come either directly from a Mesh, or from a MultiresDM */
+ struct MultiresModifierData *multires; /* Special handling for multires meshes */
+ struct MVert *mvert;
+ struct MFace *mface;
+ int totvert, totface;
+ float *face_normals;
+
/* Mesh connectivity */
struct ListBase *fmap;
struct IndexNode *fmap_mem;
@@ -55,8 +61,6 @@ typedef struct SculptSession {
void *cursor; /* wm handle */
- struct RadialControl *radialcontrol;
-
struct SculptStroke *stroke;
struct StrokeCache *cache;