diff options
author | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-09-15 22:01:18 +0400 |
---|---|---|
committer | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-09-15 22:01:18 +0400 |
commit | 816377cc02fe5dd4be945c0f3d415861114b4980 (patch) | |
tree | 306e9d1363aa66bc919e43b80b3380fab9f60ea9 /source/blender/makesdna/DNA_scene_types.h | |
parent | c8af263e5d8d9d41a757e8438cdcf3b64d57e0c0 (diff) | |
parent | ee768ada680ce0a8aa184c882005c0ef1c0140fb (diff) |
Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (`svn status` output: http://www.pasteall.org/7887).soc-2009-kazanbas
The command: svn merge -r 23130:23129 https://svn.blender.org/svnroot/bf-blender/branches/soc-2009-kazanbas
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 73afc3d1a53..4a3d555ca33 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -47,8 +47,6 @@ struct Text; struct bNodeTree; struct AnimData; struct Editing; -struct SceneStats; -struct bGPdata; typedef struct Base { struct Base *next, *prev; @@ -456,11 +454,8 @@ typedef struct Paint { Brush **brushes; int active_brush_index, brush_count; - /* WM Paint cursor */ + /* WM handle */ void *paint_cursor; - unsigned char paint_cursor_col[4]; - - int pad; } Paint; typedef struct ImagePaintSettings { @@ -488,15 +483,10 @@ typedef struct ParticleEditSettings { ParticleBrushData brush[7]; /* 7 = PE_TOT_BRUSH */ void *paintcursor; /* runtime */ - float emitterdist, rt; - - int selectmode; - int edittype; + float emitterdist; + int draw_timed; - int draw_step, fade_frames; - - struct Scene *scene; - struct Object *object; + int selectmode, pad; } ParticleEditSettings; typedef struct TransformOrientation { @@ -507,6 +497,9 @@ typedef struct TransformOrientation { typedef struct Sculpt { Paint paint; + + /* WM handle */ + void *cursor; /* For rotating around a pivot point */ float pivot[3]; @@ -724,9 +717,7 @@ typedef struct Scene { /* Units */ struct UnitSettings unit; - - /* Grease Pencil */ - struct bGPdata *gpd; + } Scene; @@ -1047,10 +1038,9 @@ typedef enum SculptFlags { #define PE_LOCK_FIRST 2 #define PE_DEFLECT_EMITTER 4 #define PE_INTERPOLATE_ADDED 8 -#define PE_DRAW_PART 16 +#define PE_SHOW_CHILD 16 +#define PE_SHOW_TIME 32 #define PE_X_MIRROR 64 -#define PE_FADE_TIME 128 -#define PE_AUTO_VELOCITY 256 /* toolsetting->particle brushtype */ #define PE_BRUSH_NONE -1 @@ -1059,15 +1049,11 @@ typedef enum SculptFlags { #define PE_BRUSH_LENGTH 2 #define PE_BRUSH_PUFF 3 #define PE_BRUSH_ADD 4 -#define PE_BRUSH_SMOOTH 5 +#define PE_BRUSH_WEIGHT 5 +#define PE_BRUSH_SMOOTH 6 /* this must equal ParticleEditSettings.brush array size */ -#define PE_TOT_BRUSH 6 - -/* tooksettings->particle edittype */ -#define PE_TYPE_PARTICLES 0 -#define PE_TYPE_SOFTBODY 1 -#define PE_TYPE_CLOTH 2 +#define PE_TOT_BRUSH 7 /* toolsettings->retopo_mode */ #define RETOPO 1 |