チェンジセット 1526

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

fixed several bugs

ファイル:

凡例:

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

    r1525 r1526  
    133133                        if (!this.klass.isShapeObject) 
    134134                        { 
     135                                this.rewind(); 
    135136                                this.play(); 
    136                                 this.rewind(); 
    137                         } 
    138                 } 
    139  
    140                 if (this.isExecutable()) // This is needed to execute descendant tags! 
    141                 { 
    142                         this.executor.registerObject(this); 
     137                        } 
    143138                } 
    144139        }, 
     
    204199                                 
    205200                                this.depthMap[depth] = po; 
     201                                if (po.isExecutable() && oid /* new instance */ ) // This is needed to execute descendant tags! 
     202                                        this.executor.registerObject(po); 
     203                                 
    206204                        } 
    207205                 
  • ruby/jsplash/trunk/client2/jsplash/player.js

    r1525 r1526  
    1313JSplash.Player.prototype = { 
    1414        initialize: function(swf, svg) { 
     15 
    1516                this.executor = new JSplash.Executor(); 
    1617                this.executor.frameRate = swf.frameRate; 
  • ruby/jsplash/trunk/client2/jsplash/shaperenderer.js

    r1525 r1526  
    100100                var es_count = this.edgeStyles.length; 
    101101                var fs_count = this.fillStyles.length; 
     102                 
     103                if (JSplash.WireFrameMode) 
     104                        this.edgeStyles = [{w:20, rgb:'000'}]; 
    102105 
    103106                for (var i = 0;i < len;i++) { 
     
    141144                                        cur_lineStyle = rcd.ls ? (rcd.ls + es_ofs) : 0; 
    142145                                } 
     146                                 
     147                                if (JSplash.WireFrameMode) 
     148                                        cur_lineStyle = 1; 
    143149                        } 
    144150                        else { 
     
    238244                        this.displayList.push(new JSplash.DisplayListEntry(0, i, E.oi+1)); 
    239245                } 
     246                 
     247                if (JSplash.WireFrameMode) 
     248                        return; 
    240249 
    241250                var ent; 
     
    338347                attrs = {d: commands.join(' '), fill: style_str}; 
    339348                if (style.a) { 
    340                         attrs.opacity = style.a; 
     349                        attrs["fill-opacity"] = style.a; 
    341350                } 
    342351