未验证 提交 e0b851a6 编写于 作者: A AssassinForReal 提交者: GitHub

MD2Loader: Clear previous frame's name. (#21766)

Previous frames' names are not cleared resulting in frame names like:
stand40
stand41
run1d41
run2d41
上级 623a702a
......@@ -218,7 +218,6 @@ class MD2Loader extends Loader {
const translation = new Vector3();
const scale = new Vector3();
const string = [];
const frames = [];
......@@ -239,6 +238,8 @@ class MD2Loader extends Loader {
);
offset += 24;
const string = [];
for ( let j = 0; j < 16; j ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册