summaryrefslogtreecommitdiff
path: root/editor/node_3d_editor_gizmos.h
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2020-03-20 12:41:07 +0100
committerJFonS <joan.fonssanchez@gmail.com>2020-04-21 21:51:33 +0200
commit3e77b6d49d47e837dbdf50664d2d71e451b7b615 (patch)
tree5b0582edf17a71c98816a27f8ff07c8a9081c4fa /editor/node_3d_editor_gizmos.h
parentcb1ae08c14e02ce29fb71ae40ae657f1d30a0422 (diff)
Update Joint gizmos automatically
Diffstat (limited to 'editor/node_3d_editor_gizmos.h')
-rw-r--r--editor/node_3d_editor_gizmos.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/node_3d_editor_gizmos.h b/editor/node_3d_editor_gizmos.h
index 8bc52b6ba9..6432feeecb 100644
--- a/editor/node_3d_editor_gizmos.h
+++ b/editor/node_3d_editor_gizmos.h
@@ -409,6 +409,11 @@ class Joint3DGizmoPlugin : public EditorNode3DGizmoPlugin {
GDCLASS(Joint3DGizmoPlugin, EditorNode3DGizmoPlugin);
+ Timer *update_timer;
+ uint64_t update_idx = 0;
+
+ void incremental_update_gizmos();
+
public:
bool has_gizmo(Node3D *p_spatial);
String get_name() const;