diff options
| author | Juan Linietsky | 2016-12-21 14:20:35 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-12-21 14:22:17 -0300 |
| commit | 37f558cd7b2308f6442f74c5265f12425d9887c8 (patch) | |
| tree | 88901b350f7674013f7aecf8fddf3f1c3dbd7399 /tools/editor/editor_resource_preview.cpp | |
| parent | 72b844c34999d8615450798ed1f27ef24a72d8ce (diff) | |
| download | godot-37f558cd7b2308f6442f74c5265f12425d9887c8.tar.gz godot-37f558cd7b2308f6442f74c5265f12425d9887c8.tar.zst godot-37f558cd7b2308f6442f74c5265f12425d9887c8.zip | |
Some BRDF fixes
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_resource_preview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_resource_preview.cpp b/tools/editor/editor_resource_preview.cpp index 6afc3e2a3..46b81dc07 100644 --- a/tools/editor/editor_resource_preview.cpp +++ b/tools/editor/editor_resource_preview.cpp @@ -267,6 +267,8 @@ void EditorResourcePreview::_thread() { memdelete(f); } + cache_valid=false; + if (cache_valid) { texture = ResourceLoader::load(cache_base+".png","ImageTexture",true); |
