Browse Source

added missing return value

Juan Linietsky 9 năm trước cách đây
mục cha
commit
c6b55e45e9
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      tools/editor/editor_resource_preview.cpp

+ 2 - 0
tools/editor/editor_resource_preview.cpp

@@ -356,6 +356,8 @@ void EditorResourcePreview::check_for_invalidation(const String& p_path) {
 		call_deferred("emit_signal","preview_invalidated",p_path);
 	}
 
+	return call_invalidated;
+
 }
 
 EditorResourcePreview::EditorResourcePreview() {