From 735c45dc8ec91b8ba8410cd40ef06746184fe157 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Thu, 18 Apr 2024 02:39:29 +0200 Subject: [Compatibility] Add stub for VisualShaderNodeComment --- scene/register_scene_types.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scene/register_scene_types.cpp') 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); -- cgit v1.2.3