mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Fixed parts being considered hidden in some cases. Fixes #108.
This commit is contained in:
parent
4db7423f7d
commit
f2560c18e0
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ bool lcPiece::IsVisible(lcStep Step)
|
||||||
if (mState & LC_PIECE_HIDDEN)
|
if (mState & LC_PIECE_HIDDEN)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return (mStepShow <= Step) && (mStepHide > Step);
|
return (mStepShow <= Step) && (mStepHide > Step || mStepHide == LC_STEP_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
const lcBoundingBox& lcPiece::GetBoundingBox() const
|
const lcBoundingBox& lcPiece::GetBoundingBox() const
|
||||||
|
|
Loading…
Add table
Reference in a new issue