From 4709b78bb89b64f76537d3197ad7dd4b57623114 Mon Sep 17 00:00:00 2001 From: seanth Date: Tue, 16 Jan 2024 21:43:12 -0600 Subject: [PATCH] Update DXFLoader.cpp Edited out line suspected to be causing changes in position when changes in scale are made to inserted BLOCKS --- code/AssetLib/DXF/DXFLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/DXF/DXFLoader.cpp b/code/AssetLib/DXF/DXFLoader.cpp index f69cdfce2..161a91826 100644 --- a/code/AssetLib/DXF/DXFLoader.cpp +++ b/code/AssetLib/DXF/DXFLoader.cpp @@ -373,7 +373,7 @@ void DXFImporter::ExpandBlockReferences(DXF::Block& bl,const DXF::BlockMap& bloc aiMatrix4x4 trafo, tmp; aiMatrix4x4::Translation(-bl_src.base,trafo); trafo *= aiMatrix4x4::Scaling(insert.scale,tmp); - trafo *= aiMatrix4x4::Translation(insert.pos,tmp); + //trafo *= aiMatrix4x4::Translation(insert.pos,tmp); // XXX rotation currently ignored - I didn't find an appropriate sample model. if (insert.angle != 0.f) {