diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-04-18 02:39:29 +0200 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-04-18 02:39:29 +0200 |
commit | 735c45dc8ec91b8ba8410cd40ef06746184fe157 (patch) | |
tree | 9b9dc860583037f877a8a20dfda047bb864ab5bb /scene/register_scene_types.cpp | |
parent | 4b7776e31bf91bd3d710277b505c196b38d8fff3 (diff) | |
download | redot-engine-735c45dc8ec91b8ba8410cd40ef06746184fe157.tar.gz |
[Compatibility] Add stub for VisualShaderNodeComment
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r-- | scene/register_scene_types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index 1c8833494d..d13f338444 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -657,6 +657,9 @@ void register_scene_types() { GDREGISTER_ABSTRACT_CLASS(VisualShaderNodeConstant); GDREGISTER_ABSTRACT_CLASS(VisualShaderNodeVectorBase); GDREGISTER_CLASS(VisualShaderNodeFrame); +#ifndef DISABLE_DEPRECATED + GDREGISTER_CLASS(VisualShaderNodeComment); // Deprecated, just for compatibility. +#endif GDREGISTER_CLASS(VisualShaderNodeFloatConstant); GDREGISTER_CLASS(VisualShaderNodeIntConstant); GDREGISTER_CLASS(VisualShaderNodeUIntConstant); |