We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e42569 commit a54aa82Copy full SHA for a54aa82
src/lib/processes/load-skeleton/StepLoadSkeleton.ts
@@ -234,7 +234,7 @@ export class StepLoadSkeleton extends EventTarget {
234
// update all positions for bones and resets scale to 1
235
private bake_scale_for_armature (armature: Object3D): Object3D {
236
const scale = armature.scale.x // assumes uniform scale
237
- if (scale === 1) return;
+ if (scale === 1) return armature.clone() // no changes. just return existing skeleton
238
239
const cloned_armature: Object3D = armature.clone()
240
cloned_armature.traverse((obj) => {
0 commit comments