Skip to content
Permalink
Browse files

address reviews

  • Loading branch information
NEDJIMAbelgacem committed Nov 17, 2020
1 parent 1ed3643 commit 6217cd514704653970acfd660b9563bb66deae0b
Showing with 1 addition and 18 deletions.
  1. +1 −1 src/3d/symbols/qgspointcloud3dsymbol.cpp
  2. +0 −1 src/app/3d/qgspointcloud3dsymbolwidget.cpp
  3. +0 −16 src/app/qgisapp.cpp
@@ -57,5 +57,5 @@ void QgsPointCloud3DSymbol::setIsEnabled( bool enabled )

void QgsPointCloud3DSymbol::setPointSize( float size )
{
mPointSize = size * 1.0f;
mPointSize = size;
}
@@ -21,7 +21,6 @@

QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloud3DSymbol *symbol, QWidget *parent )
: QWidget( parent )
// , mLayer( layer )
{
this->setupUi( this );
if ( symbol )
{
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

0 comments on commit 6217cd5

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