未验证 提交 e8c7eaf7 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #21342 from ianpurvis/fix-keyframe-track-tojson

KeyframeTrack: Fix toJSON static override check
......@@ -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.
先完成此消息的编辑!
想要评论请 注册