Update DXFLoader.cpp

Edited out line suspected to be causing changes in position when changes in scale are made to inserted BLOCKS
pull/5436/head^2
seanth 2024-01-16 21:43:12 -06:00 committed by Kim Kulling
parent bdc08dd4a9
commit 727001b0ca
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ void DXFImporter::ExpandBlockReferences(DXF::Block& bl,const DXF::BlockMap& bloc
aiMatrix4x4 trafo, tmp; aiMatrix4x4 trafo, tmp;
aiMatrix4x4::Translation(-bl_src.base,trafo); aiMatrix4x4::Translation(-bl_src.base,trafo);
trafo *= aiMatrix4x4::Scaling(insert.scale,tmp); 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. // XXX rotation currently ignored - I didn't find an appropriate sample model.
if (insert.angle != 0.f) { if (insert.angle != 0.f) {