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

only redraw when in extended mode

parent 611030b4
......@@ -85,7 +85,7 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
return {'FINISHED'}
if event.type == 'TIMER':
TODO # only if extended mode
if self._hmd and not self._hmd.is_direct_mode:
area.tag_redraw()
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