mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Update Python GPU example to latest depsgraph API
This commit is contained in:
parent
3a72c9aa33
commit
c01e43d024
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue