From fa30e51232c697599b05887c0e6de53c18c2616e Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 10 Apr 2025 12:03:27 +0200 Subject: [PATCH] [godot] Fix preprocessor constructs --- spine-godot/spine_godot/SpineEditorPlugin.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spine-godot/spine_godot/SpineEditorPlugin.h b/spine-godot/spine_godot/SpineEditorPlugin.h index 56e7510b0..269fe411b 100644 --- a/spine-godot/spine_godot/SpineEditorPlugin.h +++ b/spine-godot/spine_godot/SpineEditorPlugin.h @@ -290,14 +290,11 @@ public: #else explicit SpineEditorPlugin(EditorNode *node); -#if VERSION_MAJOR > 3 -#if VERSION_MINOR > 3 - String get_plugin_name() const override { return "SpineEditorPlugin"; } +#if VERSION_MAJOR > 3 && VERSION_MINOR > 3 + String get_plugin_name() const override { return "SpineEditorPlugin"; } #else - String get_name() const override { return "SpineEditorPlugin"; } + String get_name() const override { return "SpineEditorPlugin"; } #endif -#else - String get_name() const override { return "SpineEditorPlugin"; } #endif };