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

Updated ConstantViewSize solver to retain the initial scale and aspect ratio (Fixes #306) #719

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

BenediktTobias
Copy link
Contributor

Fixes #306

The ConstantViewSize solver now retains the original scale and aspect ratio as set by the base class Solver instead of using Vector3.one as the base scale.

@keveleigh
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AMollis AMollis requested a review from ms-RistoRK April 16, 2024 16:52
protected override void Awake()
{
base.Awake();
originalScale = GoalScale;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have enough context on the original intent here.

@keveleigh or @david-c-kline , how do you feel about this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConstantViewSize solver changes the scale of the object to a ratio of (1:1:1) on three axes
3 participants