Commit 884c0748 authored by Dalai Felinto's avatar Dalai Felinto
Browse files

Set view to be "IN-CAMERA"

parent 8eb7c258
Loading
Loading
Loading
Loading
+0 −3
Changes for README.md: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ In the viewport press ``Space`` + ``Virtual Reality Viewport``.
And then press:
* ``Alt + F11`` (Window Fullscreen)
* ``Alt + F10`` (Fullscreen Area and Hide Panels)
* ``Home`` (View All)

Current State
=============
@@ -47,9 +46,7 @@ First and foremost I plan to suport Oculus Rift, later we can make it flexible e
For that the next step is to take the transformation data from the device and rotate the viewport camera.

There are a few things I still need to implement:
* Automatically extend the view (HOME)
* Automatically go to clean fullscreen (Alt+F10) and fullwindow (Alt+F11)
* Go to the camera view (NUMPAD 0)

Feel free to send pull requests to any of the above.

+1 −2
Changes for space_view3d_virtual_reality/__init__.py: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -153,8 +153,7 @@ class VirtualRealityViewportOperator(bpy.types.Operator):
            space = get_space_3dview(context)
            space.show_only_render = True
            space.stereo_3d_camera = 'S3D'

            bpy.ops.view3d.viewnumpad(type='CAMERA')
            space.region_3d.view_perspective = 'CAMERA'

            if bpy.ops.view3d.view_all.poll():
                bpy.ops.view3d.view_all()