Skip to content

Commit

Permalink
address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem committed Nov 17, 2020
1 parent 1ed3643 commit 6217cd5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion src/3d/symbols/qgspointcloud3dsymbol.cpp
Expand Up @@ -57,5 +57,5 @@ void QgsPointCloud3DSymbol::setIsEnabled( bool enabled )

void QgsPointCloud3DSymbol::setPointSize( float size )
{
mPointSize = size * 1.0f;
mPointSize = size;
}
1 change: 0 additions & 1 deletion src/app/3d/qgspointcloud3dsymbolwidget.cpp
Expand Up @@ -21,7 +21,6 @@

QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloud3DSymbol *symbol, QWidget *parent )
: QWidget( parent )
// , mLayer( layer )
{
this->setupUi( this );
if ( symbol )
Expand Down
16 changes: 0 additions & 16 deletions src/app/qgisapp.cpp
Expand Up @@ -16264,22 +16264,6 @@ void QgisApp::showLayerProperties( QgsMapLayer *mapLayer, const QString &page )
{
QgsPointCloudLayerProperties pointCloudLayerPropertiesDialog( qobject_cast<QgsPointCloudLayer *>( mapLayer ), mMapCanvas, visibleMessageBar(), this );

//
// connect(
// pointCloudLayerPropertiesDialog, static_cast<void ( QgsPointCloudLayerProperties::* )( QgsMapLayer * )>( &QgsPointCloudLayerProperties::toggleEditing ),
// this, [ = ]( QgsMapLayer * layer ) { toggleEditing( layer ); }
// );
// connect( pointCloudLayerPropertiesDialog, &QgsVectorLayerProperties::exportAuxiliaryLayer, this, [ = ]( QgsAuxiliaryLayer * layer )
// {
// if ( layer )
// {
// std::unique_ptr<QgsVectorLayer> clone;
// clone.reset( layer->toSpatialLayer() );

// saveAsFile( clone.get() );
// }
// } );

if ( !page.isEmpty() )
pointCloudLayerPropertiesDialog.setCurrentPage( page );
else
Expand Down

0 comments on commit 6217cd5

Please sign in to comment.