diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-05-20 14:07:56 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-05-20 14:07:56 +0300 |
commit | 9c31f708ec225cfe30eb14dfcb1aa0dd8321fdd7 (patch) | |
tree | 593c08f3fda5c6b3656e9baffd1ad679601fba68 /io_export_dxf | |
parent | c85251f874e9d8b51a030d6b0cfc8b37c23e3296 (diff) |
Fix T64863: export Autocad DXF format not working in the latest builds
small mistake in recent update for depsgraph API changes (rBA901868a4b)
Diffstat (limited to 'io_export_dxf')
-rw-r--r-- | io_export_dxf/primitive_exporters/mesh_exporter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_dxf/primitive_exporters/mesh_exporter.py b/io_export_dxf/primitive_exporters/mesh_exporter.py index 6b1f0a41..bffc4139 100644 --- a/io_export_dxf/primitive_exporters/mesh_exporter.py +++ b/io_export_dxf/primitive_exporters/mesh_exporter.py @@ -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 |