You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix resource previews not created in compatibility rendering
See e5454cd660 (r138705235).
Fixes #88170.
This commit is contained in:
committed by
GitHub
parent
a9bb8509f2
commit
95102519b4
@@ -476,6 +476,7 @@ void EditorResourcePreview::start() {
|
||||
} else {
|
||||
SceneTree *st = Object::cast_to<SceneTree>(OS::get_singleton()->get_main_loop());
|
||||
ERR_FAIL_NULL_MSG(st, "Editor's MainLoop is not a SceneTree. This is a bug.");
|
||||
st->add_idle_callback(&_idle_callback);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user