Mercurial > MadButterfly
comparison pyink/domview.py @ 1280:434f588fcde4
Handle the change of attribute 'start' and 'end'. We do reset here. However, we should be able to optimize it latter to update the scenes directly.
author | wycc |
---|---|
date | Fri, 14 Jan 2011 00:00:11 +0800 |
parents | 0442ae9c2ac2 |
children | 1ac921a6bd9a |
comparison
equal
deleted
inserted
replaced
1279:1b03b6d9a915 | 1280:434f588fcde4 |
---|---|
233 for scene_node in scenes_node.childList(): | 233 for scene_node in scenes_node.childList(): |
234 if scene_node.name() != 'ns0:scene': | 234 if scene_node.name() != 'ns0:scene': |
235 continue | 235 continue |
236 | 236 |
237 try: | 237 try: |
238 ref = scene_node.getAttribute('ref') | |
238 start, end, scene_type = self.parse_one_scene(scene_node) | 239 start, end, scene_type = self.parse_one_scene(scene_node) |
239 except: | 240 except: |
240 continue | 241 continue |
241 | 242 |
242 group_id = scene_node.getAttribute("ref") | 243 group_id = scene_node.getAttribute("ref") |