def register(): for m in imported_modules + node_list: if hasattr(m, "register"): m.register() # this is used to access preferences, should/could be hidden # in an interface data_structure.SVERCHOK_NAME = __name__ print("** Have a nice day with sverchok **\n") ascii_print.logo() if reload_event: data_structure.RELOAD_EVENT = True print("Sverchok is reloaded, press update")
def register(): for m in imported_modules + node_list: if hasattr(m, "register"): m.register() # this is used to access preferences, should/could be hidden # in an interface data_structure.SVERCHOK_NAME = __name__ print("** Have a nice day with sverchok **\n") ascii_print.logo() if reload_event: data_structure.RELOAD_EVENT = True print("Sverchok is reloaded, press update")
def register(): for m in imported_modules + node_list: if m.__name__ != "sverchok.menu": if hasattr(m, "register"): #print("Registering module: {}".format(m.__name__)) m.register() # this is used to access preferences, should/could be hidden # in an interface data_structure.SVERCHOK_NAME = __name__ print("** version: ", get_version_string(), " **") print("** Have a nice day with sverchok **\n") ascii_print.logo() node_defaults.register_defaults() auto_gather_node_classes() # We have to register menu module after all nodes are registered menu.register() if reload_event: data_structure.RELOAD_EVENT = True menu.reload_menu() print("Sverchok is reloaded, press update")
def register(): for m in imported_modules + node_list: if m.__name__ != "sverchok.menu": if hasattr(m, "register"): #print("Registering module: {}".format(m.__name__)) m.register() # this is used to access preferences, should/could be hidden # in an interface data_structure.SVERCHOK_NAME = __name__ print("** version: ", get_version_string()," **") print("** Have a nice day with sverchok **\n") ascii_print.logo() node_defaults.register_defaults() auto_gather_node_classes() # We have to register menu module after all nodes are registered menu.register() if reload_event: data_structure.RELOAD_EVENT = True menu.reload_menu() print("Sverchok is reloaded, press update")