On Tuesday 28 June 2005 17:54, Casper Boemann wrote: > found: > > non sp KisImage created > > flatten called > add called > creates a sp out of layer->image() > add returns destroying the sp and thus the KisImage > > conclusion: always create KisImage as sp Arg, I should have noticed that. Thanks for finding it :-)