diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-12-27 02:08:00 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-12-27 02:08:00 +0300 |
commit | fc2cf13fc6b66caf09e610a83b793fc8e7da09a1 (patch) | |
tree | cc8d06fa67de0b3eddd7765cf482158b3973eeb8 /source/blender/blenkernel/BKE_sculpt.h | |
parent | 015007beafeaeec09ba8a7fc859acc40ba6b8b16 (diff) |
== Sculpt ==
Fixed a memory leak when using the interactive brush resize tool.
Diffstat (limited to 'source/blender/blenkernel/BKE_sculpt.h')
-rw-r--r-- | source/blender/blenkernel/BKE_sculpt.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_sculpt.h b/source/blender/blenkernel/BKE_sculpt.h index 61b8dc071aa..d539bcf5e8c 100644 --- a/source/blender/blenkernel/BKE_sculpt.h +++ b/source/blender/blenkernel/BKE_sculpt.h @@ -27,6 +27,34 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef BKE_SCULPT_H +#define BKE_SCULPT_H + +struct NumInput; +struct Scene; +struct SculptData; +struct SculptSession; + +typedef enum PropsetMode { + PropsetNone = 0, + PropsetSize, + PropsetStrength, + PropsetTexRot +} PropsetMode; + +typedef struct PropsetData { + PropsetMode mode; + unsigned int tex; + short origloc[2]; + float *texdata; + + short origsize; + char origstrength; + float origtexrot; + + struct NumInput *num; +} PropsetData; + typedef struct SculptSession { struct ProjVert *projverts; @@ -62,3 +90,4 @@ void sculptsession_free(struct Scene *sce); void sculpt_vertexusers_free(struct SculptSession *ss); void sculpt_reset_curve(struct SculptData *sd); +#endif |