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>2011-03-12 05:12:02 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2011-03-12 05:12:02 +0300
commitbbf6603961b656b3520acbab012683257683896e (patch)
treedc875477def8113243d212ccb6480bf5e070b133 /source/blender/blenkernel/BKE_paint.h
parent80de27914d4d0cedf8a46d960b496db7126d118e (diff)
== Sculpt ==
* Removed some fields from struct SculptSession: - Fields drawobject, projverts, and previous_r were completely unused - Field `ob' was really unnecessary, changed sculpt functions to pass the object rather than the SculptSession This removal of `ob' from SculptSession should should make it a little easier to continue generalizing paint/sculpt functionality. There should be no visible changes from cleanup.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 238c812906d..ef16129e1e7 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -32,8 +32,6 @@
* \ingroup bke
*/
-#include "DNA_vec_types.h"
-
struct Brush;
struct MFace;
struct MultireModifierData;
@@ -65,15 +63,12 @@ int paint_facesel_test(struct Object *ob);
/* Session data (mode-specific) */
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;
- struct Object *ob;
struct KeyBlock *kb;
/* Mesh connectivity */
@@ -99,10 +94,6 @@ typedef struct SculptSession {
struct SculptStroke *stroke;
struct StrokeCache *cache;
-
- struct GPUDrawObject *drawobject;
-
- rcti previous_r;
} SculptSession;
void free_sculptsession(struct Object *ob);