diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-03-21 04:10:32 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-03-21 04:10:32 +0300 |
commit | b7bdc6c7a11fdd9615c3d07f1b3b028fe47bbd57 (patch) | |
tree | 4f5168026f4914e5cb335585da586b102a0a51ff /source/blender/makesdna | |
parent | 734db8cbffd0e7937879f698a65ced4589469b2a (diff) |
Fixed bug #8514, sculpt: pivot last and undo
Undoing in sculpt mode correctly returns to previous pivots now.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 869f1cb426d..f31f9fff142 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -468,6 +468,10 @@ typedef struct SculptData /* Settings for each brush */ BrushData drawbrush, smoothbrush, pinchbrush, inflatebrush, grabbrush, layerbrush, flattenbrush; + + /* For rotating around a pivot point */ + float pivot[3]; + short brush_type; /* For the Brush Shape */ @@ -486,10 +490,10 @@ typedef struct SculptData /* Symmetry is separate from the other BrushData because the same settings are always used for all brush types */ char symm; - + /* Added to store if the 'Rake' setting has been set */ char rake; - char pad[7]; + char pad[3]; } SculptData; typedef struct Scene { |