diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-18 20:38:21 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-18 20:38:21 +0300 |
commit | c7f6f25a9d20464fe58b2b3b7e1de3300369d085 (patch) | |
tree | fdea0563369d99ce6ee96637ded723a41f4ef07b /source/blender/editors/include/ED_util.h | |
parent | e8e903cd534e8c644dd8e2ceeadab0236fa94f00 (diff) |
2.5
Drawing and viewing code for view3d back (no not objects :).
Quick test: converted 2250 ugly lines of code in 2.5 hours.
With about 300k lines todo, this will be 333 hours = 30 days? Whoa!
Diffstat (limited to 'source/blender/editors/include/ED_util.h')
-rw-r--r-- | source/blender/editors/include/ED_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_util.h b/source/blender/editors/include/ED_util.h index d0a4b93bfae..885c4d3317e 100644 --- a/source/blender/editors/include/ED_util.h +++ b/source/blender/editors/include/ED_util.h @@ -33,6 +33,11 @@ #define XIC 20 #define YIC 20 +/* proposal = put scene pointers on function calls? */ +#define BASACT (scene->basact) +#define OBACT (BASACT? BASACT->object: 0) + + void apply_keyb_grid(float *val, float fac1, float fac2, float fac3, int invert); int GetButStringLength(char *str); |