12.26
This commit is contained in:
@ -12,7 +12,6 @@ class BabylonMorphTargetAdapter {
|
||||
const mtm = mesh.morphTargetManager;
|
||||
if (!mtm) return;
|
||||
|
||||
console.log(`网格 ${mesh.name}: ${mtm.numTargets} 个形态键`);
|
||||
|
||||
for (let i = 0; i < mtm.numTargets; i++) {
|
||||
const mt = mtm.getTarget(i);
|
||||
@ -25,14 +24,9 @@ class BabylonMorphTargetAdapter {
|
||||
}
|
||||
this.morphTargetCache[lowerName].push(mt);
|
||||
totalTargets++;
|
||||
|
||||
if (i < 3) {
|
||||
console.log(` ${mt.name} -> ${lowerName}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
console.log(`总计: ${totalTargets} 个形态键映射`);
|
||||
return totalTargets;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user