Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
travis
  • Loading branch information
wonder-sk committed Mar 29, 2017
1 parent f02d327 commit 7cf802d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspointlocator.cpp
Expand Up @@ -741,7 +741,7 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )
}
}

qDebug( "adding feature to index" );
qDebug( "adding feature to index: %d %s", ( int )f.id(), f.geometry().boundingBox().toString().toAscii().data() );

SpatialIndex::Region r( rect2region( f.geometry().boundingBox() ) );
dataList << new RTree::Data( 0, nullptr, r, f.id() );
Expand Down
3 changes: 3 additions & 0 deletions tests/src/app/testqgsnodetool.cpp
Expand Up @@ -18,6 +18,7 @@
#include "qgsadvanceddigitizingdockwidget.h"
#include "qgsgeometry.h"
#include "qgsmapcanvas.h"
#include "qgsmapcanvassnappingutils.h"
#include "qgsproject.h"
#include "qgsvectorlayer.h"

Expand Down Expand Up @@ -188,6 +189,8 @@ void TestQgsNodeTool::initTestCase()

// TODO: set up snapping

mCanvas->setSnappingUtils( new QgsMapCanvasSnappingUtils( mCanvas, this ) );

// create node tool
mNodeTool = new QgsNodeTool2( mCanvas, mAdvancedDigitizingDockWidget );

Expand Down

0 comments on commit 7cf802d

Please sign in to comment.