File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ var Editor = function () {
9494 this . scripts = { } ;
9595
9696 this . animations = { } ;
97- this . animationMixer = new THREE . AnimationMixer ( this . scene ) ;
97+ this . mixer = new THREE . AnimationMixer ( this . scene ) ;
9898
9999 this . selected = null ;
100100 this . helpers = { } ;
@@ -468,7 +468,7 @@ Editor.prototype = {
468468 this . materials = { } ;
469469 this . textures = { } ;
470470 this . scripts = { } ;
471-
471+
472472 this . animations = { } ;
473473 this . animationMixer . stopAllAction ( ) ;
474474
Original file line number Diff line number Diff line change 55Sidebar . Animation = function ( editor ) {
66
77 var signals = editor . signals ;
8- var mixer = editor . animationMixer ;
8+ var mixer = editor . mixer ;
99
1010 var actions = { } ;
1111
Original file line number Diff line number Diff line change @@ -527,11 +527,11 @@ var Viewport = function ( editor ) {
527527
528528 requestAnimationFrame ( animate ) ;
529529
530- var mixer = editor . animationMixer ;
530+ var mixer = editor . mixer ;
531531
532532 if ( mixer . stats . actions . inUse > 0 ) {
533533
534- editor . animationMixer . update ( ( time - prevTime ) / 1000 ) ;
534+ mixer . update ( ( time - prevTime ) / 1000 ) ;
535535 render ( ) ;
536536
537537 }
You can’t perform that action at this time.
0 commit comments