Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dalai Felinto
virtual_reality_viewport
Commits
251f63e2
Commit
251f63e2
authored
Oct 16, 2015
by
Dalai Felinto
Browse files
Set perspective mode to camera when possible
parent
01038afd
Changes
1
Show whitespace changes
Inline
Side-by-side
space_view3d_virtual_reality/operator.py
View file @
251f63e2
...
...
@@ -276,6 +276,11 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
if
not
self
.
_is_mac
:
bpy
.
ops
.
wm
.
window_fullscreen_toggle
()
space
=
context
.
space_data
if
space
.
camera
:
region
=
context
.
region_data
region
.
view_perspective
=
'CAMERA'
context
.
window_manager
.
virtual_reality
.
is_slave_setup
=
False
ok
=
self
.
_init
(
context
)
self
.
_slave_status
=
SlaveStatus
.
ready
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment