mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Removed unused code.
This commit is contained in:
@@ -67,28 +67,6 @@ lcPiece::~lcPiece()
|
||||
delete mMesh;
|
||||
}
|
||||
|
||||
void lcPiece::CopyProperties(const lcPiece& Other)
|
||||
{
|
||||
SetPieceInfo(Other.mPieceInfo, Other.mID, true, false);
|
||||
|
||||
mPosition = Other.mPosition;
|
||||
mRotation = Other.mRotation;
|
||||
|
||||
mColorIndex = Other.mColorIndex;
|
||||
mColorCode = Other.mColorCode;
|
||||
|
||||
mStepShow = Other.mStepShow;
|
||||
mStepHide = Other.mStepHide;
|
||||
|
||||
mPivotPointValid = Other.mPivotPointValid;
|
||||
mPivotMatrix = Other.mPivotMatrix;
|
||||
|
||||
mControlPoints = Other.mControlPoints;
|
||||
mTrainTrackConnections = Other.mTrainTrackConnections;
|
||||
|
||||
UpdateMesh();
|
||||
}
|
||||
|
||||
void lcPiece::SetPieceInfo(PieceInfo* Info, const QString& ID, bool Wait, bool UpdateSynthInfo)
|
||||
{
|
||||
lcPiecesLibrary* Library = lcGetPiecesLibrary();
|
||||
|
||||
Reference in New Issue
Block a user