diff nodejs/mbapp.js @ 1422:6fa411fd9549

Commit merged result
author wycc
date Wed, 06 Apr 2011 21:35:21 +0800
parents c918b79892ab
children 167873cd35c5
line wrap: on
line diff
--- a/nodejs/mbapp.js	Wed Apr 06 08:17:00 2011 +0800
+++ b/nodejs/mbapp.js	Wed Apr 06 21:35:21 2011 +0800
@@ -199,10 +199,10 @@
     src.hide();
     // Duplicate the group
     var nodes = src.children;
-    if (src.dup) {
-        src.dup.remove();
-        src.dup = null;
-    }
+    //if (src.dup) {
+    //    src.dup.remove();
+    //    src.dup = null;
+    //}
     if (src.dup == null) {
         var dup = this.mb_rt.coord_new(src.parent);
 	for (i in nodes) {
@@ -252,8 +252,8 @@
 app.prototype.generateScaleTweenObject=function(coord,src,dest,p,id) {
     //sys.puts("xxxxxxx");
     //sys.puts("dest="+dest);
-   // sys.puts("src=["+src.sx+","+src.sy+","+src.r+","+src.tx+","+src.ty);
-    //sys.puts("id="+id+" dest=["+dest.sx+","+dest.sy+","+dest.r+","+dest.tx+","+dest.ty);
+    sys.puts("src=["+src.sx+","+src.sy+","+src.r+","+src.tx+","+src.ty);
+    sys.puts("id="+id+" dest=["+dest.sx+","+dest.sy+","+dest.r+","+dest.tx+","+dest.ty);
     //sys.puts("src.center="+src.center);
     //sys.puts("src.center.x="+src.center.x+" src.center.y="+src.center.y);
     if (src == null) return;