diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-26 23:20:42 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-26 23:20:42 +0300 |
commit | 230784b824c411b8b7f34fbc422ab3849b40fa14 (patch) | |
tree | f9e6ca7364d084cf02e81514ed54f476fcacbf36 /source/blender/src/header_oops.c | |
parent | a34432aa8c351176d66e21ee9047e4c95b8e8941 (diff) |
Bug fix #1893
Option to switch left/right mouse didn't work for floating panels. It then
still selected stuff behind the button.
Was due to using wrong variable for events.
Diffstat (limited to 'source/blender/src/header_oops.c')
-rw-r--r-- | source/blender/src/header_oops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/header_oops.c b/source/blender/src/header_oops.c index 630d2a8122f..24dcd19b97d 100644 --- a/source/blender/src/header_oops.c +++ b/source/blender/src/header_oops.c @@ -86,6 +86,7 @@ void do_oops_buttons(short event) switch(event) { case B_OOPSHOME: + init_v2d_oops(curarea, curarea->spacedata.first); // forces min/max to be reset boundbox_oops(); G.v2d->cur= G.v2d->tot; dx= 0.15*(G.v2d->cur.xmax-G.v2d->cur.xmin); |