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

Saving imported mesh to .tres changes geometry #95177

Closed
aristides86 opened this issue Aug 6, 2024 · 4 comments
Closed

Saving imported mesh to .tres changes geometry #95177

aristides86 opened this issue Aug 6, 2024 · 4 comments

Comments

@aristides86
Copy link

Tested versions

v4.2.2.stable.official [15073af]

System information

Win10

Issue description

When importing obj made in Blender, making it unique and saving as .tres geometry becomes slightly warped. Location of vertices changes and meshes no longer align together.
image

Steps to reproduce

Terrain_01_GEO.zip
Import obj into Godot
image
Place the mesh into a new scene. From inspector make the mesh unique. Save it as .tres
In the project I collect meshes into a mesh library for a gridmap. Original objs align perfectly, but new treses produce gaps between tiles.

Minimal reproduction project (MRP)

no need

@AThousandShips
Copy link
Member

Does this occur with "optimize mesh" turned off?

@aristides86
Copy link
Author

Looks like that's the problem. It doesn't seem to warp the mesh with Optimize disabled.

@Calinou
Copy link
Member

Calinou commented Aug 7, 2024

Looks like that's the problem. It doesn't seem to warp the mesh with Optimize disabled.

I don't see why that would happen, considering that import option does literally nothing: #94100

Are you sure this is not simply because reimporting the OBJ fixes the issue?

@aristides86
Copy link
Author

You probably right. I'm trying to recreate it again and it's not happening anymore.

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

No branches or pull requests

4 participants