mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Preserve file case when loading a file from the same folder as the current project. Fixes #302.
This commit is contained in:
parent
ef33f2c59c
commit
319dd3a1a0
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ void lcModel::LoadLDraw(QIODevice& Device, Project* Project)
|
|||
if (!CurrentGroups.IsEmpty())
|
||||
Piece->SetGroup(CurrentGroups[CurrentGroups.GetSize() - 1]);
|
||||
|
||||
PieceInfo* Info = Library->FindPiece(CleanId.constData(), Project, true, true);
|
||||
PieceInfo* Info = Library->FindPiece(PartId.toLatin1().constData(), Project, true, true);
|
||||
|
||||
float* Matrix = IncludeTransform;
|
||||
lcMatrix44 Transform(lcVector4(Matrix[0], Matrix[2], -Matrix[1], 0.0f), lcVector4(Matrix[8], Matrix[10], -Matrix[9], 0.0f),
|
||||
|
|
Loading…
Reference in a new issue