未验证 提交 4da3cc11 编写于 作者: E etr2460 提交者: GitHub

Add uuid field to AnimationClip.toJSON

When converting the scene to JSON all objects except animation clips have uuid fields included. This change adds the uuid to the JSON object for AnimationClips.
上级 ba4489de
......@@ -59,7 +59,8 @@ Object.assign( AnimationClip, {
'name': clip.name,
'duration': clip.duration,
'tracks': tracks
'tracks': tracks,
'uuid': clip.uuid
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册