Browse Source

Update StringKeyframeTrack inheritance

Tristan VALCKE 7 years ago
parent
commit
26d773c88c
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/animation/tracks/StringKeyframeTrack.js

+ 3 - 4
src/animation/tracks/StringKeyframeTrack.js

@@ -1,6 +1,5 @@
 import { InterpolateDiscrete } from '../../constants.js';
 import { InterpolateDiscrete } from '../../constants.js';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
 
 
 /**
 /**
  *
  *
@@ -14,11 +13,11 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
 
 
 function StringKeyframeTrack( name, times, values, interpolation ) {
 function StringKeyframeTrack( name, times, values, interpolation ) {
 
 
-	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
+	KeyframeTrack.call( this, name, times, values, interpolation );
 
 
 }
 }
 
 
-StringKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrackPrototype ), {
+StringKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {
 
 
 	constructor: StringKeyframeTrack,
 	constructor: StringKeyframeTrack,