Fix #28295 Outliner, mouse button on menu's pass through.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Aug 2011 17:46:07 +0000 (17:46 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Aug 2011 17:46:07 +0000 (17:46 +0000)
commit099760cf1f7969d1cd16c6b5bd1a77d86bc62547
tree3d8c3e1204dfad43a6496eb27db924dcfa67641d
parent88a538048bf7671db6a51fa2791ed1c87fa88611
Fix #28295 Outliner, mouse button on menu's pass through.

It was introduced in rev33603 with not good patch -- release event
was catching by outliner after clicking on menu item.

Use KM_CLICK instead of KM_RELEASE to deal with icon drag/drop.
This not changes drag/drop behavior, but prevents unneeded event be handled.
Also make consistent behavior of activating and extending selection.
source/blender/editors/space_outliner/outliner_ops.c