From 628b0a9375814bc811820f073df5f102bdb049fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 5 Jul 2016 07:28:53 +0200 Subject: Revert "Fix return type for EditorResourcePreview::check_for_invalidation" This reverts commit 716dfa67a3c5a0a38205179c01676e05a718d244, since it was later fixes differently with c6b55e45e9256bb41b2d045d8c61d1946de881b1... --- tools/editor/editor_resource_preview.cpp | 2 +- tools/editor/editor_resource_preview.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/editor') 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(); diff --git a/tools/editor/editor_resource_preview.h b/tools/editor/editor_resource_preview.h index 51a00965eb..fed8f129ed 100644 --- a/tools/editor/editor_resource_preview.h +++ b/tools/editor/editor_resource_preview.h @@ -121,7 +121,7 @@ public: void queue_edited_resource_preview(const Ref& p_path, Object* p_receiver, const StringName& p_receiver_func, const Variant& p_userdata); void add_preview_generator(const Ref& p_generator); - void check_for_invalidation(const String& p_path); + bool check_for_invalidation(const String& p_path); EditorResourcePreview(); ~EditorResourcePreview(); -- cgit v1.2.3