Commit 70939270 authored by Dalai Felinto's avatar Dalai Felinto
Browse files

small cleanup

parent 0dab4645
......@@ -87,7 +87,7 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
return {'RUNNING_MODAL'}
else:
# quit right away
vr.is_enabled = False
wm.virtual_reality.is_enabled = False
self._quit(context)
self.report({'ERROR'}, "Error initializing device")
......
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