summaryrefslogtreecommitdiff
path: root/doc/classes/EditorResourcePreview.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-23 12:06:06 +0200
committerGitHub <noreply@github.com>2020-04-23 12:06:06 +0200
commitffe07d93327deb548b423048cbc07bcc81b58950 (patch)
tree405652e8dd1e0fbf05d9a0180a336675fd62db1c /doc/classes/EditorResourcePreview.xml
parent2074b43c6f707c9360f73057c3435df30c49a5a2 (diff)
parenta225265b0a7308f0856c953f57168c490d54995e (diff)
Merge pull request #37888 from Calinou/doc-editor-only-singletons
Document how some editor classes should be accessed as singletons only
Diffstat (limited to 'doc/classes/EditorResourcePreview.xml')
-rw-r--r--doc/classes/EditorResourcePreview.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/EditorResourcePreview.xml b/doc/classes/EditorResourcePreview.xml
index aac75c5c8e..0c1d969518 100644
--- a/doc/classes/EditorResourcePreview.xml
+++ b/doc/classes/EditorResourcePreview.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
This object is used to generate previews for resources of files.
+ [b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorInterface.get_resource_previewer].
</description>
<tutorials>
</tutorials>