1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Ability to keep images in ImageTexture cached while using editor, fixes #25243

This commit is contained in:
Juan Linietsky
2019-01-25 13:39:43 -03:00
parent 3b2e854f4b
commit 32fa136cc7
3 changed files with 26 additions and 1 deletions

View File

@@ -4760,6 +4760,8 @@ EditorNode::EditorNode() {
ResourceLoader::clear_translation_remaps(); //no remaps using during editor
ResourceLoader::clear_path_remaps();
ImageTexture::set_keep_images_cached(true);
InputDefault *id = Object::cast_to<InputDefault>(Input::get_singleton());
if (id) {