From ccac8b4fab036f2235b83c369ac13a1e30615207 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Fri, 2 Dec 2022 08:32:29 -0500 Subject: [PATCH] Reorder model renaming --- __init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index d7d2ad3..61df647 100644 --- a/__init__.py +++ b/__init__.py @@ -11,6 +11,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Set the `geometry_script` module to the current module in case the folder is named differently. +import sys +sys.modules['geometry_script'] = sys.modules[__name__] + import bpy import os import webbrowser @@ -19,10 +23,6 @@ from .api.tree import * from .preferences import GeometryScriptPreferences from .absolute_path import absolute_path -# Set the `geometry_script` module to the current module in case the folder is named differently. -import sys -sys.modules['geometry_script'] = sys.modules[__name__] - bl_info = { "name" : "Geometry Script", "author" : "Carson Katri",