[Bf-taskforce25] Modal Operators + Moving out of view
Ton Roosendaal
ton at blender.org
Sat Nov 29 16:41:52 CET 2008
Hi,
Iff used properly and according design (modal handler should be on
screen/window level) the events should get properly handled. I suspect
this is caused by the recently added "modalops" list, which should be
replaced. Will check it now.
-Ton-
------------------------------------------------------------------------
Ton Roosendaal Blender Foundation ton at blender.org www.blender.org
Blender Institute BV Entrepotdok 57A 1018AD Amsterdam The Netherlands
On 29 Nov, 2008, at 12:28, Joshua Leung wrote:
> Hi,
>
> While working on view panning operator for View2D API, I noticed that
> if the mouse leaves the current region/area, the events stop being
> sent to the modal handler, but when the mouse returns, the operator is
> still running (even if the mousebutton that needed to be held down is
> no longer held-down). This can be seen with the change-frame thing in
> the timeline view too.
>
> I'm wondering if this is something that was something that wasn't
> accounted for in the original design, or whether this is something
> that operators which need this will have to deal with themselves. This
> affects practically all modal operators which involve mouse movement +
> holding mousebutton/button(s) down. Perhaps I'm overlooking some
> aspect of this system again?
>
> Regards,
> Joshua
> _______________________________________________
> Bf-taskforce25 mailing list
> Bf-taskforce25 at blender.org
> http://lists.blender.org/mailman/listinfo/bf-taskforce25
More information about the Bf-taskforce25
mailing list