Fwd: Re: [Inkscape-devel] Inkboard CVS updates
On Friday 01 July 2005 01:04 pm, mental@...3... wrote:
I suspect the element and its sodipodi:type attribute might be getting transmitted separately.
i.e. the remote client ends up getting a bare svg:path, and immediately creates an SPPath object. The sodipodi:type attribute which would have instructed it to create an SPEllipse or whatever might not arrive until it's too late.
Actually, it seems like that's exactly what's going on, judging from the way Inkboard processes messages: the new object message arrives, so Inkboard creates a new object. However, only _then_ does it actually parse the type attribute and set it.
I'm reworking received_new_object_helper to extract and set the type attribute before it creates the new object. Hopefully, this'll fix the problem.
-- David
participants (1)
-
David Yip