diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-05 19:16:08 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-05 19:16:08 +0300 |
commit | 82ed41ec632483fa9260d90dae7afdf3192c509b (patch) | |
tree | 61661ba89a7394fe151be61e96cc023ef6393f1b /archipack/archipack_wall2.py | |
parent | f905183239186a6ae893adbad665119a67e144ba (diff) |
Update calls to `Scene.ray_cast()` to pass depsgraph instead of view layer
This is in light of the change in Blender rBe03d53874dac5f.
Diffstat (limited to 'archipack/archipack_wall2.py')
-rw-r--r-- | archipack/archipack_wall2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archipack/archipack_wall2.py b/archipack/archipack_wall2.py index d9a486eb..53375992 100644 --- a/archipack/archipack_wall2.py +++ b/archipack/archipack_wall2.py @@ -1639,7 +1639,7 @@ class archipack_wall2(ArchipackObject, Manipulable, PropertyGroup): # prevent self intersect o.hide_viewport = True res, pos, normal, face_index, r, matrix_world = context.scene.ray_cast( - view_layer=context.view_layer, + depsgraph=context.view_layer.depsgraph, origin=p, direction=up) |