チェンジセット 1495

差分発生行の前後
無視リスト:
コミット日時:
2008/10/04 10:41:21 (3 年前)
コミッタ:
gyuque
ログメッセージ:

fixed rewind bugs

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • ruby/jsplash/trunk/client2/index.xml

    r1494 r1495  
    5454                <div id="progbar"><div>  </div></div> 
    5555                <p id="statusout"> </p> 
    56                 <p id="sout">starting <em>JSplash Player 0.4.0</em>...<br />-------------------------------------<br /></p> 
     56                <p id="sout">starting <em>JSplash Player 0.4.1</em>...<br />-------------------------------------<br /></p> 
    5757                <svg id="svgrt" xmlns="http://www.w3.org/2000/svg" style="width: 100px; height: 100px;"> 
    5858                </svg> 
  • ruby/jsplash/trunk/client2/jsplash/executor.js

    r1494 r1495  
    7878                 
    7979                this.additionals = []; 
     80                this.executed = {}; 
    8081                for (eid in tlist) { 
    8182                        mobj = tlist[eid]; 
     
    9192                 
    9293                this.additionals = []; 
     94                this.executed = {}; 
    9395                // jump set? 
    9496                for (eid in tlist) { 
     
    137139         
    138140        advanceFrame: function(mobj, jumps) { 
     141                if (this.executed[mobj.instance_uid]) 
     142                        return; 
     143                         
     144                this.executed[mobj.instance_uid] = true; 
    139145                for(;jumps>=0;jumps--) { 
    140146                        while(1) { 
  • ruby/jsplash/trunk/client2/jsplash/objects.js

    r1494 r1495  
    109109         
    110110        resume: function(depth) { 
    111          
    112111 
    113112                if (this.shape_disposed) /* Though this object is not sleeping, can be disposed when parent is sleeping */ 
     
    127126                        this.play(); 
    128127                        this.rewind(); 
    129                          
    130128                } 
    131129 
    132130                if (this.isExecutable()) // This is needed to execute descendant tags! 
    133                         this.executor.registerObject(this);              
    134                 }, 
     131                { 
     132                        this.executor.registerObject(this); 
     133                } 
     134        }, 
    135135         
    136136        appendViewAtDepth: function(obj, depth) {