diff options
| author | Aaron Franke <arnfranke@yahoo.com> | 2020-07-22 18:39:21 -0400 |
|---|---|---|
| committer | Aaron Franke <arnfranke@yahoo.com> | 2020-12-04 19:34:50 -0500 |
| commit | 5ef62e546f485e5f2798230dcfbea2b4ddecbe6e (patch) | |
| tree | fef7d4a5cd28704e34861dc9c80b0e0e776a08d4 /modules | |
| parent | 5dddf4377ae3c68a61e4a049be9e268e6f944226 (diff) | |
| download | redot-engine-5ef62e546f485e5f2798230dcfbea2b4ddecbe6e.tar.gz | |
Rename EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name"
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/csg/csg_gizmos.cpp | 2 | ||||
| -rw-r--r-- | modules/csg/csg_gizmos.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/csg/csg_gizmos.cpp b/modules/csg/csg_gizmos.cpp index cce72770f5..f8c05761bb 100644 --- a/modules/csg/csg_gizmos.cpp +++ b/modules/csg/csg_gizmos.cpp @@ -319,7 +319,7 @@ bool CSGShape3DGizmoPlugin::has_gizmo(Node3D *p_spatial) { return Object::cast_to<CSGSphere3D>(p_spatial) || Object::cast_to<CSGBox3D>(p_spatial) || Object::cast_to<CSGCylinder3D>(p_spatial) || Object::cast_to<CSGTorus3D>(p_spatial) || Object::cast_to<CSGMesh3D>(p_spatial) || Object::cast_to<CSGPolygon3D>(p_spatial); } -String CSGShape3DGizmoPlugin::get_name() const { +String CSGShape3DGizmoPlugin::get_gizmo_name() const { return "CSGShape3D"; } diff --git a/modules/csg/csg_gizmos.h b/modules/csg/csg_gizmos.h index 83ee847caf..cf44f76f37 100644 --- a/modules/csg/csg_gizmos.h +++ b/modules/csg/csg_gizmos.h @@ -40,7 +40,7 @@ class CSGShape3DGizmoPlugin : public EditorNode3DGizmoPlugin { public: bool has_gizmo(Node3D *p_spatial) override; - String get_name() const override; + String get_gizmo_name() const override; int get_priority() const override; bool is_selectable_when_hidden() const override; void redraw(EditorNode3DGizmo *p_gizmo) override; |
