summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp')
-rw-r--r--editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp b/editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp
index c15ddef933..ae24b4250e 100644
--- a/editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp
+++ b/editor/plugins/gizmos/joint_3d_gizmo_plugin.cpp
@@ -295,7 +295,7 @@ void Joint3DGizmoPlugin::incremental_update_gizmos() {
if (!current_gizmos.is_empty()) {
update_idx++;
update_idx = update_idx % current_gizmos.size();
- redraw(current_gizmos[update_idx]);
+ redraw(current_gizmos.get(update_idx));
}
}