Skip to content

Commit

Permalink
Remove deprecated argument 'deform'
Browse files Browse the repository at this point in the history
  • Loading branch information
domlysz committed May 26, 2022
1 parent 76910b4 commit 58f2789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operators/io_export_shp.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ def execute(self, context):

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

nFeat = 1
Expand Down

0 comments on commit 58f2789

Please sign in to comment.