diff options
author | checkerWoho <malsch.felix@web.de> | 2019-11-02 15:08:50 +0100 |
---|---|---|
committer | checkerWoho <malsch.felix@web.de> | 2019-11-02 15:08:50 +0100 |
commit | ec274eeeffad81805855096d02aa625940aa20d2 (patch) | |
tree | 102de73f1646aadb50c6da72bdd3c7f9956527c5 | |
parent | 4569f5ec82964e0abe543337c9537e0af9164c11 (diff) |
Copy transform when creating convex sibling
-rw-r--r-- | editor/plugins/mesh_instance_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/mesh_instance_editor_plugin.cpp b/editor/plugins/mesh_instance_editor_plugin.cpp index 635b934333..22df8fd8f4 100644 --- a/editor/plugins/mesh_instance_editor_plugin.cpp +++ b/editor/plugins/mesh_instance_editor_plugin.cpp @@ -180,6 +180,7 @@ void MeshInstanceEditor::_menu_option(int p_option) { CollisionShape *cshape = memnew(CollisionShape); cshape->set_shape(shapes[i]); + cshape->set_transform(node->get_transform()); Node *owner = node->get_owner(); |