Plugins 2
Cyrille Berger
cyb at lepi.org
Wed Feb 11 15:33:34 CET 2004
Hello,
So I learn how to do a patch, I hope it has worked :)
I tried to implement everything you said about the first version, but I have
two problems :
- when I do tile = ktm->tile( i, TILEMODE_RW)), then krita crash I don't know
what I made wrong, I think I am doing like in the rest of the program, when I
look in the backtrace of the crash handler, I get this :
#6 0x40aa70a6 in KisTileMediatorSingleton::detach(KSharedPtr<KisTile>,
KSharedPtr<KisTileMgr>, int) (this=0x0, tile={ptr = 0x8221828}, mgr={ptr =
0x8221678},
tilenum=0) at kistilemediator.cpp:121
#7 0x40aa6c33 in KisTileMediator::detach(KSharedPtr<KisTile>,
KSharedPtr<KisTileMgr>, int) (this=0x81813a0, tile={ptr = 0x8221828},
mgr={ptr = 0x8221828},
tilenum=-1073748304) at ksharedptr.h:61
#8 0x40aa9334 in KisTileMgr::detach(KSharedPtr<KisTile>, int, bool) (
this=0x8221678, tile={ptr = 0x8221828}, tilenum=0) at ksharedptr.h:61
#9 0x40aa9a24 in KisTileMgr::tile(int, int) (this=0x8221678, tilenum=0,
mode=3) at ksharedptr.h:61
Do you have an idea of what I am doing wrong ?
- and it looks like there is always an alpha channel, even if it's not used,
is it normal ?
--
--- Cyrille Berger ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exampleplugin.diff
Type: text/x-diff
Size: 4379 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20040211/ac5e8fb2/exampleplugin.bin
More information about the kimageshop
mailing list