Changed the way sculptmode interacts with shape keys. Vertex coordinates are now copied into the active key at the end of each brush action. (This is in preperation for removing the function set_sculpt_object.)

This commit is contained in:
2007-01-12 04:47:38 +00:00
parent 6ffea7b447
commit 413ff0ca2d
3 changed files with 21 additions and 40 deletions

View File

@@ -65,8 +65,6 @@ typedef struct PropsetData {
} PropsetData;
typedef struct SculptSession {
struct Object *active_ob;
/* Cache of the OpenGL matrices */
double modelviewmat[16];
double projectionmat[16];
@@ -89,8 +87,6 @@ typedef struct SculptSession {
/* For rotating around a pivot point */
vec3f pivot;
struct KeyBlock *keyblock;
} SculptSession;
SculptSession *sculpt_session();