Update DXFLoader.cpp
Edited out line suspected to be causing changes in position when changes in scale are made to inserted BLOCKSpull/5436/head^2
parent
bdc08dd4a9
commit
727001b0ca
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue