Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand skeleton height config #1156

Merged
merged 46 commits into from
Jan 23, 2025
Merged

Expand skeleton height config #1156

merged 46 commits into from
Jan 23, 2025

Conversation

ButterscotchV
Copy link
Member

@ButterscotchV ButterscotchV commented Sep 8, 2024

Replaces the basic height configuration that is part of AutoBone with one that includes the floor height. This value is also used when resetting proportions, so you no longer need to be in a specific pose for that.

Requires SlimeVR/SolarXR-Protocol#147.

Remaining tasks:

  • Handle not having positional trackers
  • Load current height/floor values from config
    • Loaded values are valid if height - floor > 0.4
  • Value validation
    • Values are valid if height - floor > 0.4
    • Must warn user they cannot continue because the resulting height is invalid
  • Warn user if no height is configured when resetting proportions (default will be used)

@ButterscotchV ButterscotchV added Priority: Normal The default priority Area: GUI Related to the GUI Type: Enhancement Adds or improves a feature Area: Translation Improvements or additions to translations Area: Server Related to the server labels Sep 8, 2024
@ButterscotchV ButterscotchV added the Status: Blocked by other issue Progress cannot be made until linked issue is resolved label Sep 8, 2024
@ButterscotchV ButterscotchV changed the title Add skeleton height config Expand skeleton height config Sep 8, 2024
@@ -35,7 +61,19 @@ export function NumberSelector({
<div className="flex flex-col gap-1 w-full">
<Typography bold>{label}</Typography>
<div className="flex gap-5 bg-background-60 p-2 rounded-lg">
<div className="flex">
<div className="flex gap-1">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard gap is usually 2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah but gap-1 is used usually for input commons

@@ -48,7 +86,7 @@ export function NumberSelector({
<div className="flex flex-grow justify-center items-center w-10 text-standard">
{valueLabelFormat ? valueLabelFormat(value) : value}
</div>
<div className="flex">
<div className="flex gap-1">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard gap is usually 2

@@ -35,7 +61,19 @@ export function NumberSelector({
<div className="flex flex-col gap-1 w-full">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard gap is usually 2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didnt edit this

@ButterscotchV ButterscotchV mentioned this pull request Dec 8, 2024
@ButterscotchV
Copy link
Member Author

One issue with this currently is there's no proper way to configure the user's height without going through the setup wizard or AutoBone... This is not ideal as the height is also used for resetting the proportions and there are cases where you cannot do AutoBone. We need to have the setup section available on its own in some capacity.

@ImUrX
Copy link
Member

ImUrX commented Dec 20, 2024

Ok, butter, i think we should stop for now on this PR and merge it, and make a new PR on refactoring how Body proportions menu looks, much better on the objective being able to adjust your height, or doing autobone or manual proportions in a more intuitive way instead of the current choose menu

@ImUrX ImUrX removed the Status: Blocked by other issue Progress cannot be made until linked issue is resolved label Jan 23, 2025
@ImUrX ImUrX merged commit 4ad9d5c into main Jan 23, 2025
13 checks passed
@ImUrX ImUrX deleted the height-config branch January 23, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Application Protocol Related to communication with apps like the GUI, overlay, games Area: AutoBone The AutoBone feature Area: GUI Related to the GUI Area: Server Related to the server Area: Skeletal Model Deals with the model of the skeleton and its pose Area: Translation Improvements or additions to translations Difficulty: Large refactor Requires modifying large sections of the codebase Priority: Normal The default priority Type: Enhancement Adds or improves a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants