Fixed parts being considered hidden in some cases. Fixes #108.

This commit is contained in:
leozide 2017-08-25 16:17:22 -07:00
parent 4db7423f7d
commit f2560c18e0

View file

@ -832,7 +832,7 @@ bool lcPiece::IsVisible(lcStep Step)
if (mState & LC_PIECE_HIDDEN)
return false;
return (mStepShow <= Step) && (mStepHide > Step);
return (mStepShow <= Step) && (mStepHide > Step || mStepHide == LC_STEP_MAX);
}
const lcBoundingBox& lcPiece::GetBoundingBox() const