Fix compile on 4.0.

This commit is contained in:
Relintai 2020-06-20 23:18:03 +02:00
parent fb01ca303d
commit 9226d21781

View File

@ -32,6 +32,12 @@ SOFTWARE.
#include "core/core_string_names.h" #include "core/core_string_names.h"
#include "procedural_animation.h" #include "procedural_animation.h"
#include "core/version.h"
#if VERSION_MAJOR >= 4
#define ToolButton Button
#endif
class EditorPropertyEasing; class EditorPropertyEasing;
class EditorPropertyResource; class EditorPropertyResource;