diff options
author | David Snopek <dsnopek@gmail.com> | 2023-04-26 16:32:03 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2023-05-08 11:00:29 -0500 |
commit | a64137d5dd0eb1eca3364a31bdc1b5b8d0ebd8ff (patch) | |
tree | 8ce02d2c3340091e46d1551357f9bc9d0919ad12 /core/doc_data.cpp | |
parent | 26fb911f79d7b16c46ca476923fe1f32ab5d27ed (diff) | |
download | redot-engine-a64137d5dd0eb1eca3364a31bdc1b5b8d0ebd8ff.tar.gz |
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
Diffstat (limited to 'core/doc_data.cpp')
-rw-r--r-- | core/doc_data.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/doc_data.cpp b/core/doc_data.cpp index 5e09e560d5..2d909f5335 100644 --- a/core/doc_data.cpp +++ b/core/doc_data.cpp @@ -165,6 +165,7 @@ void DocData::method_doc_from_methodinfo(DocData::MethodDoc &p_method, const Met void DocData::constant_doc_from_variant(DocData::ConstantDoc &p_const, const StringName &p_name, const Variant &p_value, const String &p_desc) { p_const.name = p_name; p_const.value = p_value; + p_const.is_value_valid = (p_value.get_type() != Variant::OBJECT); p_const.description = p_desc; } |