[Bf-blender-cvs] [798214c1f62] soc-2021-uv-editor-improvements: PyDoc: Update GPU Example of `draw_view3d`

Aaron Carlisle noreply at git.blender.org
Mon Aug 9 03:24:45 CEST 2021


Commit: 798214c1f62b4b2669ba80663774c2d3b940613a
Author: Aaron Carlisle
Date:   Wed Aug 4 20:25:50 2021 -0400
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rB798214c1f62b4b2669ba80663774c2d3b940613a

PyDoc: Update GPU Example of `draw_view3d`

This function was changed in rBc8004ab4078c98c54a70113c12bbb186403e90cf but didnt update the example.

Part of T84227

===================================================================

M	doc/python_api/examples/gpu.9.py

===================================================================

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)



More information about the Bf-blender-cvs mailing list