summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-18 12:59:15 +0100
committerGitHub <noreply@github.com>2020-02-18 12:59:15 +0100
commitae99439667eda15ea6607e257f270bf2e2900f76 (patch)
tree161754b5d9b836bf8adbb5875bf625e5c70c1887 /scene/resources
parentef5891091bceef2800b4fae4cd85af219e791467 (diff)
parent77b05256d6908902edccac434ef191cbb27c48ad (diff)
Merge pull request #36317 from godotengine/revert-36182-how_to_text_file
Revert "Remove TextFile from public API"
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/text_file.h2
1 files changed, 2 insertions, 0 deletions
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;