Comment 10 for bug 1286524

Revision history for this message
Alvin Penner (apenner) wrote :

just for fun, I put a tracer into the Python code to see if both layers are actually being processed. The code contains a branch depending on whether this is the first layer or a subsequent layer.

if previous != None:
    inkex.errormsg("add new = " + name)
    template.getroot().replace(previous, layer)
else:
    inkex.errormsg("add org = " + name)
    template.getroot().append(layer)

The tracer indicated that both branches were executed and that both layers were encountered, but apparently the second layer was subsequently lost somewhere.