feat: progress on armature loading

This commit is contained in:
Swann Martinez
2019-11-04 15:31:13 +01:00
parent bd27da7aa6
commit 7e4d3e6d3f
5 changed files with 20 additions and 11 deletions

View File

@ -55,14 +55,14 @@ class SessionStartOperator(bpy.types.Operator):
return True
def execute(self, context):
global client, delayables
global client, delayables, ui_context
settings = context.window_manager.session
# save config
settings.save(context)
bpy_factory = ReplicatedDataFactory()
supported_bl_types = []
ui_context = context.copy()
# init the factory with supported types
for type in bl_types.types_to_register():
_type = getattr(bl_types, type)