Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d6f33313cf02
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ec1701a4196e
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 12, 2021

  1. Copy the full SHA
    ec1701a View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 scopeprotocols/EyeMask.cpp
6 changes: 6 additions & 0 deletions scopeprotocols/EyeMask.cpp
Original file line number Diff line number Diff line change
@@ -56,6 +56,12 @@ EyeMask::~EyeMask()

bool EyeMask::Load(string path)
{
//Clear out any previous state
m_polygons.clear();
m_hitrate = 0;
m_timebaseIsRelative = false;
m_maskname = "";

try
{
m_fname = path;