diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-03-02 17:52:27 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-03-02 19:09:24 +0300 |
commit | 209021a7031f830e8fd490f9f9698cfabc8db729 (patch) | |
tree | 6841a063932d95150bf564e182e7d5ff88e42101 /doc/python_api/examples/gpu.offscreen.1.py | |
parent | 083bc48816d0962d593c0a2d28b068dd24a706f8 (diff) |
Remove all instances of OBACT from drawobject.c and related changes
Diffstat (limited to 'doc/python_api/examples/gpu.offscreen.1.py')
-rw-r--r-- | doc/python_api/examples/gpu.offscreen.1.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/gpu.offscreen.1.py b/doc/python_api/examples/gpu.offscreen.1.py index 75ddf804e70..ff1a7ad7cce 100644 --- a/doc/python_api/examples/gpu.offscreen.1.py +++ b/doc/python_api/examples/gpu.offscreen.1.py @@ -52,6 +52,7 @@ class OffScreenDraw(bpy.types.Operator): @staticmethod def _update_offscreen(context, offscreen): scene = context.scene + render_layer = context.render_layer render = scene.render camera = scene.camera @@ -65,6 +66,7 @@ class OffScreenDraw(bpy.types.Operator): offscreen.draw_view3d( scene, + render_layer, context.space_data, context.region, projection_matrix, |