diff options
Diffstat (limited to 'editor/doc_data.cpp')
| -rw-r--r-- | editor/doc_data.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/doc_data.cpp b/editor/doc_data.cpp index 1888cc1e41..5cede65fa6 100644 --- a/editor/doc_data.cpp +++ b/editor/doc_data.cpp @@ -561,7 +561,8 @@ void DocData::generate(bool p_basic_types) { c.name = cname; Callable::CallError cerror; - Variant v = Variant::construct(Variant::Type(i), nullptr, 0, cerror); + Variant v; + Variant::construct(Variant::Type(i), v, nullptr, 0, cerror); List<MethodInfo> method_list; v.get_method_list(&method_list); |