Commit: c01e43d024d50dd420e746610b1cf41973cdf2ca
Author: Dalai Felinto
Date:   Fri May 31 11:30:38 2019 -0300
Branches: master
https://developer.blender.org/rBc01e43d024d50dd420e746610b1cf41973cdf2ca

Update Python GPU example to latest depsgraph API

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

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

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

diff --git a/doc/python_api/examples/gpu.10.py 
b/doc/python_api/examples/gpu.10.py
index 6e7a3f6db6f..a4db576ecc0 100644
--- a/doc/python_api/examples/gpu.10.py
+++ b/doc/python_api/examples/gpu.10.py
@@ -24,7 +24,7 @@ def draw():
     view_matrix = scene.camera.matrix_world.inverted()
 
     projection_matrix = scene.camera.calc_matrix_camera(
-        context.depsgraph, x=WIDTH, y=HEIGHT)
+        context.evaluated_depsgraph_get(), x=WIDTH, y=HEIGHT)
 
     offscreen.draw_view3d(
         scene,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to