aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_resource_preview.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-07-06 23:46:04 -0300
committerJuan Linietsky2016-07-06 23:46:04 -0300
commit7c1ab42571d5291952e329554643142a30dee1d1 (patch)
treec496f23203877c6cfe99a809e97da74505fad7fa /tools/editor/editor_resource_preview.cpp
parent17e4ead62a949e2a1568574228a157ea4b403d30 (diff)
downloadgodot-7c1ab42571d5291952e329554643142a30dee1d1.tar.gz
godot-7c1ab42571d5291952e329554643142a30dee1d1.tar.zst
godot-7c1ab42571d5291952e329554643142a30dee1d1.zip
Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422
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 18ce2bd7f..6e38d6460 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")));
}
-bool EditorResourcePreview::check_for_invalidation(const String& p_path) {
+void EditorResourcePreview::check_for_invalidation(const String& p_path) {
preview_mutex->lock();