Commit 15e37dda authored by Dalai Felinto's avatar Dalai Felinto
Browse files

only redraw when in extended mode

parent 611030b4
...@@ -85,8 +85,8 @@ class VirtualRealityDisplayOperator(bpy.types.Operator): ...@@ -85,8 +85,8 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
return {'FINISHED'} return {'FINISHED'}
if event.type == 'TIMER': if event.type == 'TIMER':
TODO # only if extended mode if self._hmd and not self._hmd.is_direct_mode:
area.tag_redraw() area.tag_redraw()
return {'PASS_THROUGH'} return {'PASS_THROUGH'}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment