From 2af18508d1c0c6ffb8a22e7f3db070d438d46b94 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Thu, 8 Aug 2024 14:27:13 +0200 Subject: [PATCH] load_texture: fix usage of importlib To use importlib.util, you need to import it. --- ursina/texture_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ursina/texture_importer.py b/ursina/texture_importer.py index 65778be2..5754f456 100644 --- a/ursina/texture_importer.py +++ b/ursina/texture_importer.py @@ -1,7 +1,7 @@ from pathlib import Path from copy import copy import builtins -import importlib +import importlib.util from ursina import application from ursina.texture import Texture