Fix T64863: export Autocad DXF format not working in the latest builds
small mistake in recent update for depsgraph API changes (rBA901868a4b)
This commit is contained in:
parent
c85251f874
commit
9c31f708ec
Notes:
blender-bot
2023-02-14 19:15:29 +01:00
Referenced by issue #64863, export Autocad DXF format not working in the latest Blender 2.8 builds
|
@ -44,9 +44,9 @@ class MeshDXFExporter(BasePrimitiveDXFExporter):
|
|||
else: # no other instances, so go the standard way
|
||||
self._standard_way(drawing, me, mx, mx_n)
|
||||
|
||||
if obj.modifiers and settings['apply_modifiers']:
|
||||
if ob.modifiers and self._settings['apply_modifiers']:
|
||||
depsgraph = ctx.evaluated_depsgraph_get()
|
||||
obj.evaluated_get(depsgraph).to_mesh_clear()
|
||||
ob.evaluated_get(depsgraph).to_mesh_clear()
|
||||
|
||||
def _writeInsert(self, drawing, ob, mx, insert_name, **kwargs):
|
||||
from insert_exporter import InsertDXFExporter
|
||||
|
|
Loading…
Reference in New Issue