Skip to content
Permalink
Browse files

fix enum

  • Loading branch information
vcloarec authored and nyalldawson committed Nov 15, 2020
1 parent 7485141 commit fba2e031e63bff971b240ed4a081471948917d50
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/3d/materials/qgsnullmaterialsettings.cpp
  2. +1 −1 src/app/3d/qgsgoochmaterialwidget.cpp
@@ -33,6 +33,7 @@ bool QgsNullMaterialSettings::supportsTechnique( QgsMaterialSettingsRenderingTec
case QgsMaterialSettingsRenderingTechnique::InstancedPoints:
case QgsMaterialSettingsRenderingTechnique::Points:
case QgsMaterialSettingsRenderingTechnique::TrianglesWithFixedTexture:
case QgsMaterialSettingsRenderingTechnique::TrianglesDataDefined:
case QgsMaterialSettingsRenderingTechnique::Lines:
return false;
}
@@ -77,7 +77,7 @@ void QgsGoochMaterialWidget::setTechnique( QgsMaterialSettingsRenderingTechnique
switch ( technique )
{
case QgsMaterialSettingsRenderingTechnique::Triangles:

case QgsMaterialSettingsRenderingTechnique::TrianglesFromModel:
case QgsMaterialSettingsRenderingTechnique::InstancedPoints:
case QgsMaterialSettingsRenderingTechnique::Points:
case QgsMaterialSettingsRenderingTechnique::TrianglesWithFixedTexture:

0 comments on commit fba2e03

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