Skip to content

Feature: Custom texture size #23

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Pituivan
Copy link

@Pituivan Pituivan commented Apr 26, 2025

What I changed:

Issue #22 asked for support for packing non-square textures, so I added a toggle Custom texture size before the Resolution field which, when checked, replaces the Resolution field with a couple of options to set a custom texture width and height. As requested in the mentioned issue, the default custom size is the size of the first created input (if any) unless it's created before checking the Custom texture size toggle.

Changes in the UI:

The mentioned toggle, located right on top of the Resolution field.
image

All the new options to set a custom texture size, which appear when the toggle is checked. Note that the Use size from input button only appears when the user created at least one input.
image

When clicking the Use size from input button, you get to choose from which of the inputs you added you want to import the texture size.


Closes #22

…exture of a given input. Also prevented the bugs that would be caused if setting negative width or height or setting texture size as the size of a null texture
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.

No support for non square textures
1 participant