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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-08-31 22:03:42 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-08-31 22:03:42 +0400
commitd8b5ddb745b0fedb2339da72c2848180b9b57970 (patch)
tree83a95ef49a52eea5ddb9514e9641da41f16f43b5 /source/blender/makesdna/DNA_brush_types.h
parent82b40b1fc48e0c877b5c2b41cb1efaa38cf1c453 (diff)
Another struct in struct declartion in SDNA, also causing crashes.
Bug found and solved by Jens, thanks.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index a57b3d3d687..41df45a3d9f 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -39,6 +39,12 @@
struct MTex;
struct Image;
+typedef struct BrushClone {
+ struct Image *image; /* image for clone tool */
+ float offset[2]; /* offset of clone image from canvas */
+ float alpha, pad; /* transparency for drawing of clone image */
+} BrushClone;
+
typedef struct Brush {
ID id;
@@ -54,11 +60,7 @@ typedef struct Brush {
short texact, pad;
struct MTex *mtex[10];
- struct Clone {
- struct Image *image; /* image for clone tool */
- float offset[2]; /* offset of clone image from canvas */
- float alpha; /* transparency for drawing of clone image */
- } clone;
+ struct BrushClone clone;
} Brush;
/* Brush.flag */