File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -574,15 +574,15 @@ export class Spine2DRenderNode extends BaseRenderNode2D {
574
574
if ( null == this . _skeleton ) return ;
575
575
let skins = this . _externalSkins ;
576
576
if ( skins ) {
577
- let normal = false ;
577
+ let normal = false ; //todo 需要修改顶点构成?
578
578
for ( let i = skins . length - 1 ; i >= 0 ; i -- ) {
579
579
skins [ i ] . flush ( ) ;
580
- normal = skins [ i ] . normal || normal ;
580
+ // normal = skins[i].normal || normal;
581
581
}
582
582
583
- if ( normal ) {
583
+ // if (normal) {
584
584
this . useFastRender = false ;
585
- }
585
+ // }
586
586
}
587
587
}
588
588
/**
@@ -653,6 +653,7 @@ export class Spine2DRenderNode extends BaseRenderNode2D {
653
653
this . _clearUpdate ( ) ;
654
654
//this.timer.clear(this, this._update);
655
655
this . _state . update ( - this . _currentPlayTime ) ;
656
+ // this._skeleton.setToSetupPose();
656
657
// this._state.clearTrack(this.trackIndex);
657
658
this . _currentPlayTime = 0 ;
658
659
this . event ( Event . STOPPED ) ;
You can’t perform that action at this time.
0 commit comments