Ted Gould said:
On Thu, 2007-10-18 at 10:01 -0500, Aaron Spike wrote:
IIRC There used to be a check in the code that explicitly skipped <defs /> and <namedview /> on document reload while using effects. A while back Ted or I removed the <defs /> portion of the clause and this allowed the color effects to work with gradients and altering the color of markers and other things in effects. But we left the <namedview /> check in there.
Aaron is entirely right here. I'm not sure why we're avoiding the namedview, but we are. The offending function is:
/src/extension/implementation/script.cpp:copy_doc
Try taking it out and see what happens?
Giving the code a quick glance, removing that check should allow the guides to copy over. The only other thing I'll need it to do is copy the width and height attributes from the incoming XML doc root to the new doc root, to allow the document to be resized by the effect. I'll experiment with that code tonight or tomorrow night and see how far I can get with it.
Thanks,
John