1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix "Create Trimesh Collision Sibling" transform

(cherry picked from commit 3cbd626328)
This commit is contained in:
hoontee
2020-09-13 17:42:52 -05:00
committed by Rémi Verschelde
parent df2a907ba6
commit b626f16212

View File

@@ -140,6 +140,7 @@ void MeshInstanceEditor::_menu_option(int p_option) {
CollisionShape *cshape = memnew(CollisionShape);
cshape->set_shape(shape);
cshape->set_transform(node->get_transform());
Node *owner = node->get_owner();