mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Linux fixes.
This commit is contained in:
parent
82528a2c7a
commit
cc4dbb1fc8
2 changed files with 6 additions and 6 deletions
|
@ -618,13 +618,13 @@ void lcSynthInfo::AddShockAbsorberParts(lcMemFile& File, lcArray<lcMatrix44>& Se
|
|||
float Scale = (Distance - 66.0f) / 44.0f;
|
||||
const char* SpringPart;
|
||||
|
||||
if (!stricmp(mPieceInfo->mFileName, "73129.dat"))
|
||||
if (!qstricmp(mPieceInfo->mFileName, "73129.dat"))
|
||||
SpringPart = "70038";
|
||||
else if (!stricmp(mPieceInfo->mFileName, "41838"))
|
||||
else if (!qstricmp(mPieceInfo->mFileName, "41838"))
|
||||
SpringPart = "41837";
|
||||
else if (!stricmp(mPieceInfo->mFileName, "76138"))
|
||||
else if (!qstricmp(mPieceInfo->mFileName, "76138"))
|
||||
SpringPart = "71953";
|
||||
else if (!stricmp(mPieceInfo->mFileName, "76537"))
|
||||
else if (!qstricmp(mPieceInfo->mFileName, "76537"))
|
||||
SpringPart = "22977";
|
||||
else
|
||||
return;
|
||||
|
|
|
@ -364,8 +364,8 @@ void MinifigWizard::Calculate()
|
|||
float* Angles = mMinifig.Angles;
|
||||
lcMatrix44* Matrices = mMinifig.Matrices;
|
||||
|
||||
bool DroidTorso = Parts[LC_MFW_BODY] && !stricmp(Parts[LC_MFW_BODY]->mFileName, "30375.dat");
|
||||
bool SkeletonTorso = Parts[LC_MFW_BODY] && !stricmp(Parts[LC_MFW_BODY]->mFileName, "6260.dat");
|
||||
bool DroidTorso = Parts[LC_MFW_BODY] && !qstricmp(Parts[LC_MFW_BODY]->mFileName, "30375.dat");
|
||||
bool SkeletonTorso = Parts[LC_MFW_BODY] && !qstricmp(Parts[LC_MFW_BODY]->mFileName, "6260.dat");
|
||||
|
||||
if (Parts[LC_MFW_BODY3])
|
||||
Root = lcMatrix44Translation(lcVector3(0, 0, 74.0f));
|
||||
|
|
Loading…
Reference in a new issue