Skip to content

Commit

Permalink
Remove debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinevez committed Nov 10, 2024
1 parent f1f04a6 commit 2732a1c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,6 @@ public void init( final int x, final int y )

if ( creatingNewSpot )
{
System.out.println( "[AddOrLinkSpot] creating a new spot at " + x + ", " + y ); // DEBUG

final int timepoint = renderer.getCurrentTimepoint();
renderer.getGlobalPosition( x, y, pos );
lock.writeLock().lock();
Expand Down Expand Up @@ -711,8 +709,6 @@ public void init( final int x, final int y )
}
else
{
System.out.println( "[AddOrLinkSpot] starting from " + source ); // DEBUG

// Move to next or previous time point and check that we can.
final int currentTimepoint = viewer.state().getCurrentTimepoint();
if ( forward )
Expand Down Expand Up @@ -771,7 +767,6 @@ public void drag( final int x, final int y )
// No target in the vicinity - paint the future one.
overlay.paintGhostTarget = true;
overlay.snap = false;
System.out.println( "[AddOrLinkSpot] No near target" ); // DEBUG
renderer.getGlobalPosition( x, y, pos );
LinAlgHelpers.add( pos, start, pos );
System.arraycopy( pos, 0, overlay.to, 0, pos.length );
Expand All @@ -781,7 +776,6 @@ public void drag( final int x, final int y )
// Snap ghost link to found target.
overlay.paintGhostTarget = false;
overlay.snap = true;
System.out.println( "[AddOrLinkSpot] Found a close target: " + target ); // DEBUG
target.localize( overlay.to );
/*
* Is there a link between the source and found
Expand Down Expand Up @@ -816,7 +810,6 @@ public void end( final int x, final int y )
{
lock.readLock().unlock();
}
System.out.println( targetFound ); // DEBUG

lock.writeLock().lock();
try
Expand Down

0 comments on commit 2732a1c

Please sign in to comment.