mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed LDD import not converting transforms correctly. Fixes #355.
This commit is contained in:
parent
19e1493251
commit
4c0a696661
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ bool lcImportLXFMLFile(const QString& FileData, lcArray<lcPiece*>& Pieces, lcArr
|
||||||
if (ColorIt != MaterialTable.end())
|
if (ColorIt != MaterialTable.end())
|
||||||
ColorCode = ColorIt->second;
|
ColorCode = ColorIt->second;
|
||||||
|
|
||||||
const auto TransformIt = TransformTable.find(BrickIt != BrickTable.end() ? BrickIt->second : LegoID.toStdString());
|
const auto TransformIt = TransformTable.find(BrickIt != BrickTable.end() ? BrickIt->second : (LegoID.toStdString() + ".dat"));
|
||||||
if (TransformIt != TransformTable.end())
|
if (TransformIt != TransformTable.end())
|
||||||
{
|
{
|
||||||
const lcVector4& AxisAngle = TransformIt->second.second;
|
const lcVector4& AxisAngle = TransformIt->second.second;
|
||||||
|
|
Loading…
Reference in a new issue