1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Apply iwyu suggestion in core.

This commit is contained in:
Yufeng Ying
2024-12-18 19:56:23 +08:00
parent 6395450b10
commit be86ce3103
68 changed files with 7 additions and 111 deletions

View File

@@ -30,15 +30,11 @@
#include "resource.h"
#include "core/io/file_access.h"
#include "core/io/resource_loader.h"
#include "core/math/math_funcs.h"
#include "core/object/script_language.h"
#include "core/os/os.h"
#include "scene/main/node.h" //only so casting works
#include <stdio.h>
void Resource::emit_changed() {
if (ResourceLoader::is_within_load() && !Thread::is_main_thread()) {
ResourceLoader::resource_changed_emit(this);