Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-05-21 15:39:37 +0300
committerJacques Lucke <mail@jlucke.com>2019-05-21 15:39:57 +0300
commit678f7523b013cdb81068e6e28f03cd724895f306 (patch)
tree5a4eca0b070d60f8adaa65e636f99e56457efcf2 /add_curve_ivygen.py
parent8a6d66a1db9fa5dfd3a340e82f3ddcc805170334 (diff)
Fix T64941: Insert missing bpy. to access context after recent changes
Diffstat (limited to 'add_curve_ivygen.py')
-rw-r--r--add_curve_ivygen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index 7c683846..8fefeb65 100644
--- a/add_curve_ivygen.py
+++ b/add_curve_ivygen.py
@@ -438,7 +438,7 @@ def bvhtree_from_object(ob):
import bmesh
bm = bmesh.new()
- depsgraph = context.evaluated_depsgraph_get()
+ depsgraph = bpy.context.evaluated_depsgraph_get()
ob_eval = ob.evaluated_get(depsgraph)
mesh = ob_eval.to_mesh()
bm.from_mesh(mesh)