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:
Philipp Oeser 2019-05-20 13:07:56 +02:00
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
1 changed files with 2 additions and 2 deletions

View File

@ -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