Loading

importlib

  1. # To support reload properly, try to access a package var, if it's there, reload everything
  2. if "bpy" in locals():
  3.   import importlib
  4.   if "config" in locals():
  5.     importlib.reload(object_draw_type)
  6.   from . import object_draw_type
  7.  
  8. object_draw_mode = object_draw_type.object_draw_mode

Comments