From 56ccc9cdd992baf6be404e4d4d403a20223fe283 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 24 Jan 2024 17:06:57 +1100 Subject: [PATCH] Fix missing import in 9cc6ee75e7bad264c4bbcb274add5c71abf113d5 --- scripts/modules/bpy_types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/modules/bpy_types.py b/scripts/modules/bpy_types.py index 65cf4b02e75..209f7ed050c 100644 --- a/scripts/modules/bpy_types.py +++ b/scripts/modules/bpy_types.py @@ -1316,7 +1316,8 @@ class UserExtensionRepo(StructRNA): if directory := self.directory: return directory import os - return os.path.join(_bpy.utils.user_resource('SCRIPTS', path="extensions"), self.module) + import bpy + return os.path.join(bpy.utils.user_resource('SCRIPTS', path="extensions"), self.module) class HydraRenderEngine(RenderEngine):