mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
Workaround for LDD import bug.
This commit is contained in:
parent
c435eae17b
commit
f31879c2e4
1 changed files with 1 additions and 1 deletions
|
@ -1165,7 +1165,7 @@ bool Project::DoSave(const char* FileName)
|
|||
if ((Piece->IsVisible(i)) && (Piece->GetStepShow() == i))
|
||||
{
|
||||
const float* f = Piece->mModelWorld;
|
||||
sprintf (buf, " 1 %d %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %s.DAT\r\n",
|
||||
sprintf (buf, "1 %d %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %s.DAT\r\n",
|
||||
Piece->mColorCode, f[12] * 25.0f, -f[14] * 25.0f, f[13] *25.0f, f[0], -f[8], f[4], -f[2], f[10], -f[6], f[1], -f[9], f[5], Piece->mPieceInfo->m_strName);
|
||||
file.WriteBuffer(buf, strlen(buf));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue