14 Jun
2013
14 Jun
'13
10:35 a.m.
Hey Lauris,
I'm fixing https://bugs.launchpad.net/inkscape/+bug/166327 and I have to commit code which goes directly against your comment in the code:
787 /* We do not allow ungrouping <svg> etc. (lauris) */ 788 if (strcmp(group->getRepr()->name(), "svg:g") && strcmp(group->getRepr()->name(), "svg:switch")) {
Since I'm enabling the ungrouping of svg elements, I have to ask why we may not want to be able to upgroup svg elements. Should we check for element->parent != NULL here to make sure we don't ungroup the top-level element by mistake?
Martin,