8000 Simplify v1.0 by the-pink-hacker · Pull Request #713 · JannisX11/blockbench-plugins · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Simplify v1.0 #713

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

Merged
merged 10 commits into from
May 14, 2025
Merged

Simplify v1.0 #713

merged 10 commits into from
May 14, 2025

Conversation

the-pink-hacker
Copy link
Contributor
@the-pink-hacker the-pink-hacker commented Apr 13, 2025

the-pink-hacker and others added 8 commits August 22, 2021 15:37
The top and bottom faces were not simplified.
The position, origin, size, rotation, or UV can now be disabled.
This is what I get for not reading the full pull request.

// UV
if (data.uv) {
cubes[i].faces.north.uv = simplify_value(cubes[i].faces.north.uv, data.roundAmount);
Copy link
Owner

Choose a reason for hiding this comment

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

This will currently set UV to NaN.

let cubes;

if (data.selectOnly == true) {
cubes = selected;
Copy link
Owner

Choose a reason for hiding this comment

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

Will cause errors when elements other than cubes are selected. Use Cube.selected instead.

@the-pink-hacker the-pink-hacker requested a review from JannisX11 May 7, 2025 22:39
@JannisX11 JannisX11 merged commit be64d42 into JannisX11:master May 14, 2025
1 check passed
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.

2 participants
0