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

This commit is contained in:
Juan Linietsky committed 2019-01-25 13:40:23 -03:00
1 parent 3b2e854f4b
commit 32fa136cc7
3 files changed
+26 -1

No files matched your search

+2
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) {