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

Make primitive meshes react to texel size change #94726

Merged

Conversation

BastiaanOlij
Copy link
Contributor

Makes primitive meshes subscribe to project settings changes so that we rebuild the mesh if the texel size changes.

Fixes #94637

@BastiaanOlij BastiaanOlij added enhancement topic:3d cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Jul 25, 2024
@BastiaanOlij BastiaanOlij added this to the 4.4 milestone Jul 25, 2024
@BastiaanOlij BastiaanOlij self-assigned this Jul 25, 2024
@BastiaanOlij BastiaanOlij force-pushed the primitive_texel_size_update branch from b2974c5 to 471443e Compare July 25, 2024 07:44
@BastiaanOlij BastiaanOlij requested a review from Calinou July 25, 2024 07:44
@BastiaanOlij BastiaanOlij force-pushed the primitive_texel_size_update branch from 471443e to b302e52 Compare July 25, 2024 09:07
@fire fire requested a review from a team July 25, 2024 16:36
@BastiaanOlij BastiaanOlij force-pushed the primitive_texel_size_update branch from b302e52 to b9790ce Compare July 26, 2024 03:54
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Tested locally, it works as expected.

change_primitive_size_project_setting.mp4

I've also opened a proposal which relates to this PR a bit: godotengine/godot-proposals#10311

@clayjohn clayjohn removed the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Aug 16, 2024
@akien-mga akien-mga merged commit 5960555 into godotengine:master Aug 16, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@BastiaanOlij BastiaanOlij deleted the primitive_texel_size_update branch August 20, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes to Primitive Meshes Texel Size project setting do not apply until the scene is reloaded
4 participants