mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed uninitialized overlay mode.
This commit is contained in:
parent
8ef4470439
commit
70d500ab87
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,7 @@ Project::Project()
|
|||
m_bModified = false;
|
||||
m_bTrackCancel = false;
|
||||
m_nTracking = LC_TRACK_NONE;
|
||||
m_OverlayMode = LC_OVERLAY_NONE;
|
||||
m_pPieces = NULL;
|
||||
m_pLights = NULL;
|
||||
m_pGroups = NULL;
|
||||
|
@ -8425,7 +8426,10 @@ void Project::OnMouseMove(View* view, int x, int y, bool bControl, bool bShift)
|
|||
m_fTrack[1] = (float)ClampY;
|
||||
|
||||
if (m_nTracking != LC_TRACK_NONE)
|
||||
{
|
||||
ActivateOverlay(view, m_nCurAction, LC_OVERLAY_NONE);
|
||||
UpdateOverlayScale();
|
||||
}
|
||||
|
||||
UpdateAllViews();
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue