mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Fixed missing uppercase when update a model's piece.
This commit is contained in:
parent
853f28c6c3
commit
f4e14b6394
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void PieceInfo::SetModel(lcModel* Model)
|
|||
mFlags = LC_PIECE_MODEL;
|
||||
mModel = Model;
|
||||
|
||||
strncpy(m_strName, Model->GetProperties().mName.toLatin1().data(), sizeof(m_strName));
|
||||
strncpy(m_strName, Model->GetProperties().mName.toUpper().toLatin1().data(), sizeof(m_strName));
|
||||
m_strName[sizeof(m_strName)-1] = 0;
|
||||
strncpy(m_strDescription, Model->GetProperties().mName.toLatin1().data(), sizeof(m_strDescription));
|
||||
m_strDescription[sizeof(m_strDescription)-1] = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue