summaryrefslogtreecommitdiffstats
path: root/scene/register_scene_types.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-12-30 11:45:31 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-12-30 13:07:08 +0300
commitc98c6eadbe00700e9a8c6257a082b131447dc4c8 (patch)
tree82d8976d20c6d84034792d1af4589036d7bf2690 /scene/register_scene_types.cpp
parent59b30e1d23d096f5faa36d2faaa07792eba4fd81 (diff)
downloadredot-engine-c98c6eadbe00700e9a8c6257a082b131447dc4c8.tar.gz
Add convert options between constants and uniforms in visual shaders
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r--scene/register_scene_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index 30077aa642..6fc896597d 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -533,6 +533,7 @@ void register_scene_types() {
ClassDB::register_virtual_class<VisualShaderNodeOutput>();
ClassDB::register_virtual_class<VisualShaderNodeResizableBase>();
ClassDB::register_virtual_class<VisualShaderNodeGroupBase>();
+ ClassDB::register_virtual_class<VisualShaderNodeConstant>();
ClassDB::register_class<VisualShaderNodeFloatConstant>();
ClassDB::register_class<VisualShaderNodeIntConstant>();
ClassDB::register_class<VisualShaderNodeBooleanConstant>();