diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-08-05 03:25:50 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-08-05 03:25:50 +0300 |
commit | 438d645a365045b4d89d59af59e17584f0593dc4 (patch) | |
tree | 0b9066097d69834cda0bd9af009933a740560782 /doc/python_api | |
parent | 171433e841379e7efad069bbda9880fb271e2fc4 (diff) |
PyDoc: Update GPU Example of `draw_view3d`
This function was changed in rBc8004ab4078c98c54a70113c12bbb186403e90cf but didnt update the example.
Part of T84227
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/gpu.9.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/gpu.9.py b/doc/python_api/examples/gpu.9.py index e358cb517bd..b0400ce7809 100644 --- a/doc/python_api/examples/gpu.9.py +++ b/doc/python_api/examples/gpu.9.py @@ -31,7 +31,8 @@ def draw(): context.space_data, context.region, view_matrix, - projection_matrix) + projection_matrix, + True) gpu.state.depth_mask_set(False) draw_texture_2d(offscreen.texture_color, (10, 10), WIDTH, HEIGHT) |