Skip to content

Commit 58f2789

Browse files
committed
Remove deprecated argument 'deform'
1 parent 76910b4 commit 58f2789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operators/io_export_shp.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ def execute(self, context):
168168

169169
loc = obj.location
170170
bm = bmesh.new()
171-
bm.from_object(obj, context.evaluated_depsgraph_get(), deform=True) #'deform' allows to consider modifier deformation
171+
bm.from_object(obj, context.evaluated_depsgraph_get())
172+
#bmesh.from_object 'deform=True' arg allows to consider modifier deformation ->> deprecated since Blender 3.0
172173
bm.transform(obj.matrix_world)
173174

174175
nFeat = 1

0 commit comments

Comments
 (0)