mirror of
https://github.com/leozide/leocad.git
synced 2026-09-15 02:53:39 +00:00
Added option to fade previous steps.
This commit is contained in:
+2
-2
@@ -814,7 +814,7 @@ void View::OnDraw()
|
||||
mScene.SetActiveSubmodelInstance(mActiveSubmodelInstance, mActiveSubmodelTransform);
|
||||
mScene.SetDrawInterface(DrawInterface);
|
||||
|
||||
mModel->GetScene(mScene, mCamera, mHighlight);
|
||||
mModel->GetScene(mScene, mCamera, mHighlight, Preferences.mFadeSteps);
|
||||
|
||||
if (DrawInterface && mTrackTool == LC_TRACKTOOL_INSERT)
|
||||
{
|
||||
@@ -827,7 +827,7 @@ void View::OnDraw()
|
||||
if (GetActiveModel() != mModel)
|
||||
WorldMatrix = lcMul(WorldMatrix, mActiveSubmodelTransform);
|
||||
|
||||
Info->AddRenderMeshes(mScene, WorldMatrix, gMainWindow->mColorIndex, lcRenderMeshState::FOCUSED, true);
|
||||
Info->AddRenderMeshes(mScene, WorldMatrix, gMainWindow->mColorIndex, lcRenderMeshState::Focused, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user