[Bf-extensions-cvs] [9c31f708] master: Fix T64863: export Autocad DXF format not working in the latest builds
Philipp Oeser
noreply at git.blender.org
Mon May 20 13:09:42 CEST 2019
Commit: 9c31f708ec225cfe30eb14dfcb1aa0dd8321fdd7
Author: Philipp Oeser
Date: Mon May 20 13:07:56 2019 +0200
Branches: master
https://developer.blender.org/rBA9c31f708ec225cfe30eb14dfcb1aa0dd8321fdd7
Fix T64863: export Autocad DXF format not working in the latest builds
small mistake in recent update for depsgraph API changes (rBA901868a4b)
===================================================================
M io_export_dxf/primitive_exporters/mesh_exporter.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list