提交 77480d33 编写于 作者: I Ian Purvis

KeyframeTrack: Fix toJSON static override check

  Subclasses of KeyframeTrack classes will never have undefined static toJSON
上级 4d90e23c
......@@ -34,7 +34,7 @@ class KeyframeTrack {
let json;
// derived classes can define a static toJSON method
if ( trackType.toJSON !== undefined ) {
if ( trackType.toJSON !== this.toJSON ) {
json = trackType.toJSON( track );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册