disable module reload in background mode
parent
0b55bf671d
commit
fd0dec4162
|
@ -33,6 +33,7 @@ functions = [
|
||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
if "bpy" in locals():
|
if "bpy" in locals():
|
||||||
|
if not bpy.app.background:
|
||||||
for name in modules + functions:
|
for name in modules + functions:
|
||||||
module = importlib.import_module(name, __name__)
|
module = importlib.import_module(name, __name__)
|
||||||
importlib.reload(module)
|
importlib.reload(module)
|
||||||
|
|
Loading…
Reference in New Issue