diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-06 23:41:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 23:41:34 +0100 |
commit | e35e45a7889a4728f45ba3a214152297f64ea839 (patch) | |
tree | 9a0b3c6a46f3689b1dbe8612798c43a5f8b9d76a | |
parent | 58abea1ff6f46e1413d4af14655cd23561f66278 (diff) | |
parent | 70190e74280922e598a3b3f80233aa94ea063e22 (diff) |
Merge pull request #13427 from hoelzl/pr-vs-enable-yield
Make VisualScriptFunctionState instantiable
-rw-r--r-- | modules/visual_script/register_types.cpp | 2 |
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>(); |