diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-25 08:17:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-25 08:22:21 +0300 |
commit | 693b41eb17557ba12e7c64c5ba589c499ff45c4d (patch) | |
tree | bb85c46690d1de4c57c3f4f3f614536b3a655068 /source/blender/blenloader | |
parent | 9b32248894d133c6437174e1470dfefa23a10b87 (diff) |
UI: change tool-tips to be stored in the screen
Move timer and tip out of button code,
now the only requests a tooltip,
passing a creation callback to run.
Needed for manipulators in 2.8,
also helps de-duplicate logic - since we never want
multiple tool-tips showing at once.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 775eafb8fe2..4c1beb78bbf 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6410,6 +6410,7 @@ static void lib_link_screen(FileData *fd, Main *main) sc->scene = main->scene.first; sc->animtimer = NULL; /* saved in rare cases */ + sc->tool_tip = NULL; sc->scrubbing = false; for (ScrArea *sa = sc->areabase.first; sa; sa = sa->next) { |