diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-13 02:25:54 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-13 02:25:54 +0300 |
commit | 56557f223fb9c9afae0965fb564b9c189e97f5cb (patch) | |
tree | 846332e23b6e1fed438d56469bdc0a4677d64fed /source/blender/makesdna | |
parent | f3dc0ba876d37f7c85c3fc1408b24f962a88642e (diff) |
2.5 - Assorted View2D related fixes
IPO Editor Fixes:
* Grid now draws correct. Fixed typo in gridline calculations preventing drawing from occurring. Also, set the right arguments to the appropriate View2D calls.
* Limited Ton's cur<->mask mapping 'hack' to Outliner only, as it was causing problems with the drawing of the grid. Perhaps there's still some faulty code in curRect_validate that should be changed instead...
* Horizontal scroller draws frames now by default. However, the values are still offset a bit, so will need further investigation.
Outliner Fixes:
* Fixed overlapping text problem with RNA-path and menus. Now RNA path draws as a label beside the menus, so there shouldn't be any more problems there.
* do_versions code now sets all appropriate flags, as old OOPS views could cause errors with scroller drawing + view manipulation operators which depend on flags being set.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 3d8047c6100..d1af38b9e25 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -543,8 +543,11 @@ typedef struct SpaceImaSel { #define SI_DISPGP 1<<22 /* SpaceIpo->flag */ -#define SIPO_LOCK_VIEW 1<<0 -#define SIPO_NOTRANSKEYCULL 1<<1 +#define SIPO_LOCK_VIEW (1<<0) +#define SIPO_NOTRANSKEYCULL (1<<1) +#define SIPO_NOHANDLES (1<<2) +#define SIPO_NODRAWCFRANUM (1<<3) +#define SIPO_DRAWTIME (1<<4) /* SpaceText flags (moved from DNA_text_types.h) */ |