Re: [Tuxpaint-devel] [(almost)Solved]Plugins crash
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2008-07-10 06:56:55
|
On Thu, Jul 10, 2008 at 04:44:01AM +0200, foo-script wrote: > > I found the solution. At the beginning "canvas" is only a pointer to SDL_Surface, without any data. So we have to blit snapshot/last (source image) to canvas manually. This is new requirement and all the tools in today release support this change. I'm not sure I fully understand what you're saying here. If you're talking about the SDL_Surface* being '0x1' instead of a valid pointer, this has to do with a missing 'int mode' argument in your _click() function. > There's only one problem. Bill, I have reviewed the docs, magic tools codes, CHANGES and tp_magic_example.c . > > This new feature/requirement is _undocumented_. Even example tool (provided with Tuxpaint) crashes the program when I try to use this tool. Apologies, you're right, I didn't get to the docs yet. (The new 'mode' args ARE mentioned specifically in CHANGES, though :) ) > Please, mention anywhere about this. > > Sorry for this mails attack, but I after 3 hrs of searching a bug/libs updating & recompiling I just had to ask you :) Heh, I even though I mentioned it in a previous email to you. Sorry! :) -- -bill! "Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux! Download it today! http://www.tuxpaint.org/ |