blender/source
Campbell Barton a9e25ac433 Toggle-Drag UI Feature
Dragging on toggle buttons can now be used to press multiple buttons at once, especially useful for layer and outliner buttons.


notes:
- automatically enabled for all toggle buttons
  (may change this if it becomes a problem).
- only buttons of the same type are pressed
  (helps avoid annoyances eg; dragging past layer buttons onto other 3d header buttons and pressing by accident).
- automatic axis locking - dragging will lock to X/Y depending on the initial drag direction,
  makes swipe motions work better, especially with the outliner.


implementation details:
- may re-implement as a region handler (currently its a modal operator).
- checking buttons in-between cursor motion events could be more efficient (but currently works ok).
- button execution needs to be improved
  (currently executing a button thats not under the mouse needed a workaround for passing uiHandleButtonData),
  requires further changes to UI code, will do next.
2013-02-22 05:56:20 +00:00
..
blender Toggle-Drag UI Feature 2013-02-22 05:56:20 +00:00
blenderplayer code cleanup: remove unused arg 2013-02-22 00:51:58 +00:00
creator Made ldl code a part of extern_ssba library, otherwise gcc fails to 2013-02-20 12:07:27 +00:00
gameengine BGE: Fix for bug #34349 "Character walkDirection ADD mode -#INF error" reported by Angus Hollands (agoose77). If the walk directions canceled each other out, the actuator would try to normalize a zero vector, which caused the error. 2013-02-22 02:31:46 +00:00
icons Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
tests update to operator running test, add option to randomize order, not reset blender for each operator and set data attributes. 2013-02-14 05:10:12 +00:00
CMakeLists.txt
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00