From 05b56f316ddc94c2bb55b62477ec3914fe81a220 Mon Sep 17 00:00:00 2001 From: trollodel <33117082+trollodel@users.noreply.github.com> Date: Thu, 27 Jan 2022 10:36:51 +0100 Subject: Remove most EditorNode constructor parameters and fields --- modules/csg/csg_gizmos.cpp | 2 +- modules/csg/csg_gizmos.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/csg') diff --git a/modules/csg/csg_gizmos.cpp b/modules/csg/csg_gizmos.cpp index 076978c4fb..6ad2274a53 100644 --- a/modules/csg/csg_gizmos.cpp +++ b/modules/csg/csg_gizmos.cpp @@ -421,7 +421,7 @@ void CSGShape3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) { } } -EditorPluginCSG::EditorPluginCSG(EditorNode *p_editor) { +EditorPluginCSG::EditorPluginCSG(EditorNode *_p_editor) { Ref gizmo_plugin = Ref(memnew(CSGShape3DGizmoPlugin)); Node3DEditor::get_singleton()->add_gizmo_plugin(gizmo_plugin); } diff --git a/modules/csg/csg_gizmos.h b/modules/csg/csg_gizmos.h index 46761370dd..f3c851d06b 100644 --- a/modules/csg/csg_gizmos.h +++ b/modules/csg/csg_gizmos.h @@ -57,7 +57,7 @@ class EditorPluginCSG : public EditorPlugin { GDCLASS(EditorPluginCSG, EditorPlugin); public: - EditorPluginCSG(EditorNode *p_editor); + EditorPluginCSG(EditorNode *_p_editor); }; #endif // CSG_GIZMOS_H -- cgit v1.2.3