diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-18 12:59:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 12:59:15 +0100 |
commit | ae99439667eda15ea6607e257f270bf2e2900f76 (patch) | |
tree | 161754b5d9b836bf8adbb5875bf625e5c70c1887 | |
parent | ef5891091bceef2800b4fae4cd85af219e791467 (diff) | |
parent | 77b05256d6908902edccac434ef191cbb27c48ad (diff) |
Merge pull request #36317 from godotengine/revert-36182-how_to_text_file
Revert "Remove TextFile from public API"
-rw-r--r-- | doc/classes/TextFile.xml | 13 | ||||
-rw-r--r-- | scene/resources/text_file.h | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/classes/TextFile.xml b/doc/classes/TextFile.xml new file mode 100644 index 0000000000..1c2c2ff25c --- /dev/null +++ b/doc/classes/TextFile.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="TextFile" inherits="Resource" version="4.0"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> + <methods> + </methods> + <constants> + </constants> +</class> diff --git a/scene/resources/text_file.h b/scene/resources/text_file.h index 76c80ba509..666c088d04 100644 --- a/scene/resources/text_file.h +++ b/scene/resources/text_file.h @@ -36,6 +36,8 @@ class TextFile : public Resource { + GDCLASS(TextFile, Resource); + private: String text; String path; |