diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-22 01:39:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-22 01:53:04 +0300 |
commit | 8accb5a46f4a498327ddd41ffb6e07972b373422 (patch) | |
tree | adffe39cd5e713560c1a84dfefaec5f673d87f0b /release/scripts/templates_py | |
parent | 0910932e71d2b869e0f9d4289d89f20c64beabaa (diff) |
Cleanup: minor corrections
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r-- | release/scripts/templates_py/operator_modal_view3d_raycast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/operator_modal_view3d_raycast.py b/release/scripts/templates_py/operator_modal_view3d_raycast.py index 7569477af68..9130f47843a 100644 --- a/release/scripts/templates_py/operator_modal_view3d_raycast.py +++ b/release/scripts/templates_py/operator_modal_view3d_raycast.py @@ -19,7 +19,7 @@ def main(context, event): def visible_objects_and_duplis(): """Loop over (object, matrix) pairs (mesh only)""" - depsgraph = bpy.context.evaluated_depsgraph_get() + depsgraph = context.evaluated_depsgraph_get() for dup in depsgraph.object_instances: if dup.is_instance: # Real dupli instance obj = dup.instance_object |