summaryrefslogtreecommitdiffstats
path: root/scene/3d/mesh_instance.cpp
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2018-10-29 11:30:28 +0100
committerJFonS <joan.fonssanchez@gmail.com>2018-12-21 23:56:39 +0100
commit6b15b4f90469375ac388a73477356c90bd6e194d (patch)
treee95f36fff2fb5dcb1241d6b67e2df286dd70a74e /scene/3d/mesh_instance.cpp
parent13582354fd9a77428dcd38ac8e05ca0d2eb1ccba (diff)
downloadredot-engine-6b15b4f90469375ac388a73477356c90bd6e194d.tar.gz
Expose the new gizmo plugin system to scripting
Diffstat (limited to 'scene/3d/mesh_instance.cpp')
-rw-r--r--scene/3d/mesh_instance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/mesh_instance.cpp b/scene/3d/mesh_instance.cpp
index cf0317cd58..02fab8c50b 100644
--- a/scene/3d/mesh_instance.cpp
+++ b/scene/3d/mesh_instance.cpp
@@ -138,6 +138,8 @@ void MeshInstance::set_mesh(const Ref<Mesh> &p_mesh) {
set_base(RID());
}
+ update_gizmo();
+
_change_notify();
}
Ref<Mesh> MeshInstance::get_mesh() const {