1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Update Joint gizmos automatically

(cherry picked from commit 3e77b6d49d)
This commit is contained in:
jfons
2020-03-20 12:41:07 +01:00
committed by Rémi Verschelde
parent 97a787aa71
commit add8d1b9df
3 changed files with 28 additions and 2 deletions

View File

@@ -828,12 +828,11 @@ public:
static const int HIDDEN = 1;
static const int ON_TOP = 2;
private:
protected:
int current_state;
List<EditorSpatialGizmo *> current_gizmos;
HashMap<String, Vector<Ref<SpatialMaterial> > > materials;
protected:
static void _bind_methods();
virtual bool has_gizmo(Spatial *p_spatial);
virtual Ref<EditorSpatialGizmo> create_gizmo(Spatial *p_spatial);