From a81561cbd960d4787ea0dbd68f60f0af67323721 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Wed, 7 Feb 2024 02:37:26 +0100 Subject: Add GraphFrame and integrate it in VisualShader --- scene/register_scene_types.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scene/register_scene_types.cpp') diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index b6efd30f63..f645bb5e73 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -104,6 +104,7 @@ #include "scene/gui/file_dialog.h" #include "scene/gui/flow_container.h" #include "scene/gui/graph_edit.h" +#include "scene/gui/graph_frame.h" #include "scene/gui/graph_node.h" #include "scene/gui/grid_container.h" #include "scene/gui/item_list.h" @@ -473,6 +474,7 @@ void register_scene_types() { GDREGISTER_CLASS(GraphElement); GDREGISTER_CLASS(GraphNode); + GDREGISTER_CLASS(GraphFrame); GDREGISTER_CLASS(GraphEdit); OS::get_singleton()->yield(); // may take time to init @@ -649,7 +651,7 @@ void register_scene_types() { GDREGISTER_ABSTRACT_CLASS(VisualShaderNodeGroupBase); GDREGISTER_ABSTRACT_CLASS(VisualShaderNodeConstant); GDREGISTER_ABSTRACT_CLASS(VisualShaderNodeVectorBase); - GDREGISTER_CLASS(VisualShaderNodeComment); + GDREGISTER_CLASS(VisualShaderNodeFrame); GDREGISTER_CLASS(VisualShaderNodeFloatConstant); GDREGISTER_CLASS(VisualShaderNodeIntConstant); GDREGISTER_CLASS(VisualShaderNodeUIntConstant); -- cgit v1.2.3