Skip to content
Permalink
Browse files

[FEATURE]: Adapt node tool to new geometry types and provide a node e…

…ditor table
  • Loading branch information
mhugent committed Jul 9, 2015
1 parent 390b816 commit cc73f96e2eb88f47a1f2238454cb46b468d1b110
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/app/nodetool/qgsselectedfeature.cpp
@@ -77,8 +77,10 @@ void QgsSelectedFeature::updateGeometry( QgsGeometry *geom )
if ( !geom )
{
QgsFeature f;
mVlayer->getFeatures( QgsFeatureRequest().setFilterFid( mFeatureId ) ).nextFeature( f );
mGeometry = new QgsGeometry( *f.geometry() );
if ( mVlayer->getFeatures( QgsFeatureRequest().setFilterFid( mFeatureId ) ).nextFeature( f ) )
{
mGeometry = new QgsGeometry( *f.geometry() );
}
}
else
{
@@ -301,9 +303,6 @@ void QgsSelectedFeature::deleteSelectedVertexes()

void QgsSelectedFeature::moveSelectedVertexes( const QgsVector &v )
{
//todo...

#if 0
int nUpdates = 0;
foreach ( QgsVertexEntry *entry, mVertexMap )
{
@@ -360,7 +359,6 @@ void QgsSelectedFeature::moveSelectedVertexes( const QgsVector &v )
endGeometryChange();

mVlayer->endEditCommand();
#endif //0
}

void QgsSelectedFeature::replaceVertexMap()

0 comments on commit cc73f96

Please sign in to comment.
You can’t perform that action at this time.