comparison pyink/MBScene.py @ 1171:16ea7b81eda8

Add comment to update it latter.
author wycc
date Thu, 30 Dec 2010 11:32:33 +0800
parents d73ef03c96de
children 96a7abce774a
comparison
equal deleted inserted replaced
1170:e64b02951627 1171:16ea7b81eda8
423 try: 423 try:
424 label = node.getAttribute("inkscape:label") 424 label = node.getAttribute("inkscape:label")
425 except: 425 except:
426 continue 426 continue
427 if label == "dup": 427 if label == "dup":
428 #FIXME: The duplication here is not perfect. We should
429 # get the element inside the group and apply the
430 # transformation matrix to it directly.
428 for n in node.childList(): 431 for n in node.childList():
429 ns.appendChild(n.duplicate(self.document)) 432 ns.appendChild(n.duplicate(self.document))
430 found = True 433 found = True
431 node.setAttribute("style","display:none") 434 node.setAttribute("style","display:none")
432 break 435 break