diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-02-07 02:37:26 +0100 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-04-04 15:11:00 +0200 |
commit | a81561cbd960d4787ea0dbd68f60f0af67323721 (patch) | |
tree | fa144f4212f9143bd98e753b1a84fb9d6e01b81b /scene/register_scene_types.cpp | |
parent | 7a42afbba050822a66ea5b4c620f6db1b98c49af (diff) | |
download | redot-engine-a81561cbd960d4787ea0dbd68f60f0af67323721.tar.gz |
Add GraphFrame and integrate it in VisualShader
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r-- | scene/register_scene_types.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); |