summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-06 23:41:34 +0100
committerGitHub <noreply@github.com>2017-12-06 23:41:34 +0100
commite35e45a7889a4728f45ba3a214152297f64ea839 (patch)
tree9a0b3c6a46f3689b1dbe8612798c43a5f8b9d76a
parent58abea1ff6f46e1413d4af14655cd23561f66278 (diff)
parent70190e74280922e598a3b3f80233aa94ea063e22 (diff)
Merge pull request #13427 from hoelzl/pr-vs-enable-yield
Make VisualScriptFunctionState instantiable
-rw-r--r--modules/visual_script/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/register_types.cpp b/modules/visual_script/register_types.cpp
index b6ce10381d..ecdca7eb42 100644
--- a/modules/visual_script/register_types.cpp
+++ b/modules/visual_script/register_types.cpp
@@ -53,7 +53,7 @@ void register_visual_script_types() {
ClassDB::register_class<VisualScript>();
ClassDB::register_virtual_class<VisualScriptNode>();
- ClassDB::register_virtual_class<VisualScriptFunctionState>();
+ ClassDB::register_class<VisualScriptFunctionState>();
ClassDB::register_class<VisualScriptFunction>();
ClassDB::register_class<VisualScriptOperator>();
ClassDB::register_class<VisualScriptVariableSet>();