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

"Edit Material" squares the scaling of the spawned Inspector #3807

Open
Banane9 opened this issue Dec 14, 2022 · 1 comment
Open

"Edit Material" squares the scaling of the spawned Inspector #3807

Banane9 opened this issue Dec 14, 2022 · 1 comment
Labels
Bug Something isn't working

Comments

@Banane9
Copy link

Banane9 commented Dec 14, 2022

Describe the bug?

When spawning a new MaterialGizmo (material inspector) using the Material Tip's "Edit Material" button, the window is either too small or too big when user scale is smaller or larger than 1 respectively. In fact, the inspector's scale is the square of the user scale.

This is due to the inspector being scale adjusted twice when spawned. This also causes issues when moving an existing one, as it also becomes smaller or larger depending on user scale.

Relevant issues

None found.

To Reproduce

Get material tip. Select a material. Be at a user scale other than 1. Use the "Edit Material" button on the context menu.

Expected behavior

The inspector should have exactly the scale of the user.

Log Files

No response

Screenshots

Tiny Inspector when scaled down

Giant inspector when scaled up

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

all?

What Platforms does this occur on?

Windows, Linux, Android / Quest

Link to Reproduction Item/World

No response

Did this work before?

No

If it worked before, on which build?

No response

Additional context

I have written a (tiny) mod that fixes this: https://github.com/Banane9/NeosCorrectGizmoScaling

Reporters

epicEaston197#0793, Banane9#5929

@Banane9 Banane9 added the Bug Something isn't working label Dec 14, 2022
@epicEaston197
Copy link

also something else to note here is I tested this with and without mods and it happens either way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants