Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

shorter name for retargeting export. make animation names left aligned again

Scott Petrovic611527f7a79e
diff --git a/src/retarget/AnimationRetargetService.ts b/src/retarget/AnimationRetargetService.ts
index 08f50ca..4d6343f 100644
--- a/src/retarget/AnimationRetargetService.ts
+++ b/src/retarget/AnimationRetargetService.ts
@@ -224,7 +224,7 @@ export class AnimationRetargetService {
// Create and return the new retargeted animation clip
const retargeted_clip = new AnimationClip(
- `${source_clip.name}_retargeted`,
+ `${source_clip.name} RT`, // RT means retargeted
source_clip.duration,
retargeted_tracks
)
diff --git a/src/styles.css b/src/styles.css
index 11869a5..8c8ef8f 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -531,6 +531,7 @@ input[type="file"] {
.styled-checkbox {
display: flex;
align-items: center;
+ align-self: start; /* left justify */
gap: 0.2rem; /* Space between checkbox and label */
margin-bottom: 0.4rem;
margin-top: 0.4rem;