diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-05-21 15:39:37 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-05-21 15:39:57 +0300 |
commit | 678f7523b013cdb81068e6e28f03cd724895f306 (patch) | |
tree | 5a4eca0b070d60f8adaa65e636f99e56457efcf2 /animation_add_corrective_shape_key.py | |
parent | 8a6d66a1db9fa5dfd3a340e82f3ddcc805170334 (diff) |
Fix T64941: Insert missing bpy. to access context after recent changes
Diffstat (limited to 'animation_add_corrective_shape_key.py')
-rw-r--r-- | animation_add_corrective_shape_key.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/animation_add_corrective_shape_key.py b/animation_add_corrective_shape_key.py index 91d57396..58a4597f 100644 --- a/animation_add_corrective_shape_key.py +++ b/animation_add_corrective_shape_key.py @@ -70,7 +70,7 @@ def extract_vert_coords(ob, verts): def extract_mapped_coords(ob, shape_verts): totvert = len(shape_verts) - depsgraph = context.evaluated_depsgraph_get() + depsgraph = bpy.context.evaluated_depsgraph_get() ob_eval = ob.evaluated_get(depsgraph) mesh = ob_eval.to_mesh() |