diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-23 21:55:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 21:55:16 +0200 |
commit | 4c3d5850de5f6870ff28fbfb9142e7093f76125d (patch) | |
tree | 53594829b1cb6ce168a99dbd96514f2f65eeab67 /scene/3d/mesh_instance_3d.cpp | |
parent | 28160e1a6f8886bb9416ea371f4dd77dc320377a (diff) | |
parent | cfb555a08175c811ea06a43ea320b81a2c90554a (diff) |
Merge pull request #50748 from JFonS/gizmo_rework
Node3D gizmo improvements
Diffstat (limited to 'scene/3d/mesh_instance_3d.cpp')
-rw-r--r-- | scene/3d/mesh_instance_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp index 28ccbd3e68..5bb598227c 100644 --- a/scene/3d/mesh_instance_3d.cpp +++ b/scene/3d/mesh_instance_3d.cpp @@ -133,7 +133,7 @@ void MeshInstance3D::set_mesh(const Ref<Mesh> &p_mesh) { set_base(RID()); } - update_gizmo(); + update_gizmos(); notify_property_list_changed(); } @@ -356,7 +356,7 @@ Ref<Material> MeshInstance3D::get_active_material(int p_surface) const { void MeshInstance3D::_mesh_changed() { ERR_FAIL_COND(mesh.is_null()); surface_override_materials.resize(mesh->get_surface_count()); - update_gizmo(); + update_gizmos(); } void MeshInstance3D::create_debug_tangents() { |