# HG changeset patch # User wycc # Date 1302291597 -28800 # Node ID bd3d5ac8e74857fca0bad4446cf5c5073bddcec4 # Parent d82a828e8e26051e58c49465c3aff8baa3d267a7 DOn't display unnecessary elemnts. diff -r d82a828e8e26 -r bd3d5ac8e748 nodejs/mbapp.js --- a/nodejs/mbapp.js Sat Apr 09 03:36:51 2011 +0800 +++ b/nodejs/mbapp.js Sat Apr 09 03:39:57 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) { @@ -315,7 +315,7 @@ try { this.get(scenes[i].ref).hide(); if (nth >=scenes[i].start && nth <=scenes[i].end) { - this.get(scenes[i].ref).show(); + //this.get(scenes[i].ref).show(); if (this.get(scenes[i].ref).dup) this.get(scenes[i].ref).dup.show(); if (scenes[i].type == 'normal' || i == scenes.length-1) { @@ -328,7 +328,7 @@ // If there is no second key frame defined, fall back to the normal this.get(scenes[i].ref).show(); } - this.get(scenes[i+1].ref).hide(); + //this.get(scenes[i+1].ref).hide(); } } else {