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-16 19:55:40 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-16 19:55:40 +0300
commit8252daa40b59d327590ba45d8c4023e1baf494dc (patch)
treefe2e18afb92483954078814c15d9ee9662f1940a /source/blender/blenkernel
parente6b868723780eba01e37e65fc0a72b1a3a594722 (diff)
Removed matrices from sculpt session and into the sculpt cache.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/BKE_sculpt.h2
-rw-r--r--source/blender/blenkernel/intern/scene.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_sculpt.h b/source/blender/blenkernel/BKE_sculpt.h
index b84dcfbd2a8..e7aec665aab 100644
--- a/source/blender/blenkernel/BKE_sculpt.h
+++ b/source/blender/blenkernel/BKE_sculpt.h
@@ -40,8 +40,6 @@ struct StrokeCache;
typedef struct SculptSession {
struct ProjVert *projverts;
- struct bglMats *mats;
-
/* An array of lists; array is sized as
large as the number of verts in the mesh,
the list for each vert contains the index
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index 3fc1d2a6103..efd27342aed 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -690,8 +690,6 @@ void sculptsession_free(Scene *sce)
if(ss) {
if(ss->projverts)
MEM_freeN(ss->projverts);
- if(ss->mats)
- MEM_freeN(ss->mats);
if(ss->radialcontrol)
MEM_freeN(ss->radialcontrol);