Skip to content
Permalink
Browse files

Remove leftover skybox enabling settings

  • Loading branch information
DelazJ authored and nyalldawson committed Aug 21, 2020
1 parent 09844a7 commit d4972d75c5e2a8987246e5a2b60447e710639ccd
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/app/3d/qgsskyboxrenderingsettingswidget.cpp
@@ -50,8 +50,6 @@ QgsSkyboxRenderingSettingsWidget::QgsSkyboxRenderingSettingsWidget( QWidget *par

void QgsSkyboxRenderingSettingsWidget::setSkyboxSettings( const QgsSkyboxSettings &skyboxSettings )
{
skyboxEnabledCheckBox->setChecked( skyboxSettings.isSkyboxEnabled() );

switch ( skyboxSettings.skyboxType() )
{
case QgsSkyboxEntity::PanoramicSkybox:
@@ -75,7 +73,6 @@ void QgsSkyboxRenderingSettingsWidget::setSkyboxSettings( const QgsSkyboxSetting
QgsSkyboxSettings QgsSkyboxRenderingSettingsWidget::toSkyboxSettings()
{
QgsSkyboxSettings settings;
settings.setIsSkyboxEnabled( skyboxEnabledCheckBox->isChecked() );
settings.setSkyboxType( static_cast< QgsSkyboxEntity::SkyboxType >( skyboxTypeComboBox->currentIndex() ) );
settings.setPanoramicTexturePath( panoramicTextureImageSource->source() );
settings.setCubeMapFace( QStringLiteral( "posX" ), posXImageSource->source() );

0 comments on commit d4972d7

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