Fix return type for EditorResourcePreview::check_for_invalidation
This commit is contained in:
parent
576a28470f
commit
716dfa67a3
|
@ -336,7 +336,7 @@ void EditorResourcePreview::_bind_methods() {
|
||||||
ADD_SIGNAL(MethodInfo("preview_invalidated",PropertyInfo(Variant::STRING,"path")));
|
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();
|
preview_mutex->lock();
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ public:
|
||||||
void queue_edited_resource_preview(const Ref<Resource>& p_path, Object* p_receiver, const StringName& p_receiver_func, const Variant& p_userdata);
|
void queue_edited_resource_preview(const Ref<Resource>& p_path, Object* p_receiver, const StringName& p_receiver_func, const Variant& p_userdata);
|
||||||
|
|
||||||
void add_preview_generator(const Ref<EditorResourcePreviewGenerator>& p_generator);
|
void add_preview_generator(const Ref<EditorResourcePreviewGenerator>& p_generator);
|
||||||
bool check_for_invalidation(const String& p_path);
|
void check_for_invalidation(const String& p_path);
|
||||||
|
|
||||||
EditorResourcePreview();
|
EditorResourcePreview();
|
||||||
~EditorResourcePreview();
|
~EditorResourcePreview();
|
||||||
|
|
Loading…
Reference in New Issue