feat: scene annotation

This commit is contained in:
Swann Martinez
2019-05-10 13:01:24 +02:00
parent 8a8dff3aa4
commit 29bfc2db7c
2 changed files with 13 additions and 5 deletions

View File

@ -549,7 +549,8 @@ def depsgraph_update(scene):
if client_state == 3:
if bpy.context.mode == 'OBJECT':
print(bpy.context.mode)
if bpy.context.mode in ['OBJECT','PAINT_GPENCIL']:
updates = bpy.context.depsgraph.updates
username = bpy.context.scene.session_settings.username
update_selected_object(bpy.context)