Mercurial > MadButterfly
changeset 1229:cc55f3de9c0b
Revert #027187a21117 before applying patches for refactoring.
- #027187a21117 is just a lot of print messages, it make patches rejected.
- The following patches would change a lot, the messages may mean nothing.
- If someone still need #027187a21117, you can pick it back and apply
it again.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 10 Jan 2011 11:45:04 +0800 |
parents | 027187a21117 |
children | f0864d7177e3 |
files | pyink/MBScene.py |
diffstat | 1 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/pyink/MBScene.py Sat Jan 08 15:46:09 2011 +0800 +++ b/pyink/MBScene.py Mon Jan 10 11:45:04 2011 +0800 @@ -116,7 +116,6 @@ def _on_insert_node(self, node, child): try: child_id = child.getAttribute('id') - print "On insert node %s" % child_id except: pass else: @@ -800,7 +799,6 @@ frameline.duplicateGroup.setAttribute('style', 'display: none') except AttributeError: pass - self.done("remove key") pass def extendScene(self): @@ -819,7 +817,6 @@ self.chg_scene_node(scene_node, end=frame_idx) frameline.add_keyframe(frame_idx) frameline.tween(start, scene_type) - self.done("extend scene") pass def setCurrentScene(self, idx): @@ -1139,7 +1136,6 @@ def changeObjectLabel(self,w): o = self.desktop.selection.list()[0] o.setAttribute("inkscape:label", self.nameEditor.get_text()) - self.done("modify name") pass def addNameEditor(self,hbox): @@ -1185,21 +1181,17 @@ self.selectSceneObject(self.last_line, self.last_frame) self._lockui=False # self.grid.show_all() - self.done("new key") return def doDuplicateKeyScene(self,w): self._lockui = True self.duplicateKeyScene() self._lockui = False - self.done("dup key") - return def doRemoveScene(self,w): self._lockui = True self.removeKeyScene(self.last_line, self.last_frame) self._lockui = False - self.done("remove key") return @@ -1207,7 +1199,6 @@ self._lockui = True self.extendScene() self._lockui = False - self.done("extend key") pass def doRun(self,arg): @@ -1374,7 +1365,6 @@ scene_node = frameline.get_frame_data(start) self.chg_scene_node(scene_node, tween_type=type_name) - self.done("None","change tween type") pass def addTweenTypeSelector(self, hbox): @@ -1402,11 +1392,6 @@ gtk.main_quit() pass - def done(self, desc): - spdoc = self.desktop.doc() - spdoc.done("None",desc) - pass - def show(self): self.OK = True if not self.root: