Update Python GPU example to latest depsgraph API

This commit is contained in:
Dalai Felinto 2019-05-31 11:30:38 -03:00
parent 3a72c9aa33
commit c01e43d024
1 changed files with 1 additions and 1 deletions

View File

@ -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,