Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-05-31 17:30:38 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-05-31 17:31:04 +0300
commitc01e43d024d50dd420e746610b1cf41973cdf2ca (patch)
tree45b35bfb1f7cc26e649125295b46624ac5b67962 /doc
parent3a72c9aa33c38b2005edd23834be2d2ecac050fc (diff)
Update Python GPU example to latest depsgraph API
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/gpu.10.py2
1 files changed, 1 insertions, 1 deletions
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,