2017-03-15 12:30:14 +01:00
|
|
|
import arm.nodes_logic
|
|
|
|
import arm.props_traits_params
|
2017-07-24 02:27:22 +02:00
|
|
|
import arm.props_traits_props
|
2017-03-15 12:30:14 +01:00
|
|
|
import arm.props_traits
|
|
|
|
import arm.props_lod
|
2017-09-21 18:30:02 +02:00
|
|
|
import arm.props_tilesheet
|
2017-08-21 15:36:21 +02:00
|
|
|
import arm.props_exporter
|
2018-03-05 00:24:04 +01:00
|
|
|
import arm.props_bake
|
2017-08-21 20:16:06 +02:00
|
|
|
import arm.props_renderpath
|
2017-03-15 12:30:14 +01:00
|
|
|
import arm.props
|
|
|
|
import arm.props_ui
|
|
|
|
import arm.handlers
|
|
|
|
import arm.utils
|
|
|
|
import arm.keymap
|
2016-06-30 13:22:05 +02:00
|
|
|
|
2017-01-28 20:00:04 +01:00
|
|
|
registered = False
|
|
|
|
|
2016-06-30 13:22:05 +02:00
|
|
|
def register():
|
2017-01-28 20:00:04 +01:00
|
|
|
global registered
|
|
|
|
registered = True
|
2017-03-15 12:30:14 +01:00
|
|
|
arm.utils.register()
|
2017-08-21 12:17:55 +02:00
|
|
|
arm.props_traits_params.register()
|
|
|
|
arm.props_traits_props.register()
|
|
|
|
arm.props_traits.register()
|
|
|
|
arm.props_lod.register()
|
2017-09-21 18:30:02 +02:00
|
|
|
arm.props_tilesheet.register()
|
2017-08-21 15:36:21 +02:00
|
|
|
arm.props_exporter.register()
|
2018-03-05 00:24:04 +01:00
|
|
|
arm.props_bake.register()
|
2017-08-21 20:16:06 +02:00
|
|
|
arm.props_renderpath.register()
|
2017-03-15 12:30:14 +01:00
|
|
|
arm.props.register()
|
|
|
|
arm.props_ui.register()
|
|
|
|
arm.nodes_logic.register()
|
|
|
|
arm.keymap.register()
|
2017-04-20 00:13:43 +02:00
|
|
|
arm.handlers.register()
|
2016-07-10 00:51:39 +02:00
|
|
|
|
2016-06-30 13:22:05 +02:00
|
|
|
def unregister():
|
2017-01-28 20:00:04 +01:00
|
|
|
global registered
|
|
|
|
registered = False
|
2017-03-15 12:30:14 +01:00
|
|
|
arm.keymap.unregister()
|
|
|
|
arm.utils.unregister()
|
|
|
|
arm.nodes_logic.unregister()
|
2017-08-21 12:17:55 +02:00
|
|
|
arm.handlers.unregister()
|
|
|
|
arm.props_ui.unregister()
|
|
|
|
arm.props.unregister()
|
2017-03-15 12:30:14 +01:00
|
|
|
arm.props_traits_params.unregister()
|
2017-07-24 02:27:22 +02:00
|
|
|
arm.props_traits_props.unregister()
|
2017-03-15 12:30:14 +01:00
|
|
|
arm.props_traits.unregister()
|
|
|
|
arm.props_lod.unregister()
|
2017-09-21 18:30:02 +02:00
|
|
|
arm.props_tilesheet.unregister()
|
2017-08-21 15:36:21 +02:00
|
|
|
arm.props_exporter.unregister()
|
2018-03-05 00:24:04 +01:00
|
|
|
arm.props_bake.unregister()
|
2017-08-21 20:16:06 +02:00
|
|
|
arm.props_renderpath.unregister()
|