summaryrefslogtreecommitdiff
path: root/tools/editor/editor_resource_preview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_resource_preview.cpp')
-rw-r--r--tools/editor/editor_resource_preview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_resource_preview.cpp b/tools/editor/editor_resource_preview.cpp
index 26a27d0fc3..1a0e996110 100644
--- a/tools/editor/editor_resource_preview.cpp
+++ b/tools/editor/editor_resource_preview.cpp
@@ -336,7 +336,7 @@ void EditorResourcePreview::_bind_methods() {
ADD_SIGNAL(MethodInfo("preview_invalidated",PropertyInfo(Variant::STRING,"path")));
}
-void EditorResourcePreview::check_for_invalidation(const String& p_path) {
+bool EditorResourcePreview::check_for_invalidation(const String& p_path) {
preview_mutex->lock();