[Bf-committers] Re: CVS commit: blender/source/blender/blenkernel/intern brush.c blender/source/blender/include BDR_imagepaint.h blendef.h butspace.h blender/source/blender/makesdna DNA_brush_types.h DNA_scene_types.h blender/source/blender/src buttons_editing.c drawimage.c ...

Nathan Letwory jesterking at letwory.net
Tue Aug 1 11:38:00 CEST 2006


On La 29.7.2006 12:26, Jean-Luc Peurière kirjoitti:
>
> Le 28 juil. 06 à 23:33, Brecht Van Lommel a écrit :
>
>
>> The problem is that the time the mouse movement was
>> recorded is not available, and checking for the current time right
>> after
>> the mouse event is very inaccurate. The Gimp bug is there for exactly
>> the same reason:
>
>> http://bugzilla.gnome.org/show_bug.cgi?id=143216
>>
>> There's probably a way to retrieve that info in GHOST for each OS.
>> I'll
>> see what I can do to fix this, because the same problem will be there
>> with pressure sensitivity.
>
>
> that is something which is part of the ghost refactor indeed.
>
> I will start this now, even if an X11 coder is not yet available,
>
> but not in main tree for now.

GHOST itself records the GHOST-system time for each event (which starts at
0 from creation of the system, of course). This timestamp could be
introduced into Blender events, since it can be retrieved through
GHOST_GetEventTime().

/Nathan




More information about the Bf-committers mailing list