feat: object watchdog test

This commit is contained in:
Swann Martinez
2019-08-12 18:21:07 +02:00
parent 70c596756c
commit 38c5e9352d
5 changed files with 16 additions and 10 deletions

View File

@ -147,7 +147,11 @@ class SessionStartOperator(bpy.types.Operator):
for type in bl_types.types_to_register():
_type = getattr(bl_types, type)
supported_bl_types.append(_type.bl_id)
bpy_factory.register_type(_type.bl_class, _type.bl_rep_class)
if _type.bl_id == 'objects':#For testing
bpy_factory.register_type(_type.bl_class, _type.bl_rep_class, timer=2,automatic=False)
else:
bpy_factory.register_type(_type.bl_class, _type.bl_rep_class)
client = Client(factory=bpy_factory)