Import a 3D Model and automatically assign and export animations
TypeScript
remove step 3.5 for binding since it isn't shown on UI
Scott Petrovic9928fa788f63
diff --git a/src/lib/processes/StepWeightSkin.ts b/src/lib/processes/StepWeightSkin.tsindex c15a286..a329385 100644--- a/src/lib/processes/StepWeightSkin.ts+++ b/src/lib/processes/StepWeightSkin.ts@@ -42,19 +42,7 @@ export class StepWeightSkin extends EventTarget {this.weight_painted_mesh_preview.renderOrder = -1}- public begin (): void {- if (this.ui.dom_current_step_index !== null) {- this.ui.dom_current_step_index.innerHTML = '3.5'- }-- if (this.ui.dom_current_step_element !== null) {- this.ui.dom_current_step_element.innerHTML = 'Skin Debug'- }-- if (this.ui.dom_skinned_mesh_tools !== null) {- this.ui.dom_skinned_mesh_tools.style.display = 'flex'- }- }+ public begin (): void { }public create_bone_formula_object (editable_armature: Object3D, skinning_formula: string, skeleton_type: SkeletonType): AbstractAutoSkinSolver | null {this.skinning_armature = editable_armature.clone()diff --git a/src/script.ts b/src/script.tsindex 35c02a1..bfaf867 100644--- a/src/script.ts+++ b/src/script.ts@@ -247,7 +247,6 @@ export class Bootstrap {breakcase ProcessStep.BindPose:this.process_step = ProcessStep.BindPose- this.weight_skin_step.begin()this.transform_controls.enabled = false // shouldn't be editing bonesthis.calculate_skin_weighting_for_models()this.regenerate_skeleton_helper(this.weight_skin_step.skeleton())