Skip to content

Commit 13f3a07

Browse files
committed
Fixed regression with factory_dictionary caused by last commit...
1 parent dcbdcc8 commit 13f3a07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: addons/source-python/packages/source-python/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ def setup_global_pointers():
185185
factory_dictionary = manager.get_global_pointer(
186186
'EntityFactoryDictionary'
187187
)
188-
factories.factory_dictionary = factory_dictionary
189188
except NameError:
190189
warn(str(sys.exc_info()[1]))
190+
return
191+
192+
factories.factory_dictionary = factory_dictionary
191193

192194

193195
# =============================================================================

0 commit comments

Comments
 (0)