godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.34k stars 21.06k forks source link

Gridmap remove mesh accidentally when mesh cell not in center #45962

Open yikescloud opened 3 years ago

yikescloud commented 3 years ago

Godot version: Godot 3.2.3 Stable(steam version)

OS/device including version: Window 10 professional

Issue description: Mesh will be removed if your cursor is not on the center of the mesh. when you place the mesh, another mesh under your cursor will be removed

Steps to reproduce: 1/make a cube in blender and set the pivot on any cornor 2/import the obj into godot 3/make a mesh library and place it in a gridmap 4/Uncheck the center x/y/z in gridmap cell settings

Minimal reproduction Project: GridmapEditOffset.zip

Calinou commented 3 years ago

@firecloud888 Please upload a minimal reproduction project to make this easier to troubleshoot.