mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
handle new point cloud parameter in description files (follow up
f801cb6816)
This commit is contained in:
parent
e35bff790f
commit
cfc72ca5f9
@ -59,7 +59,8 @@ from qgis.core import (QgsRasterLayer,
|
||||
QgsProcessingParameterMultipleLayers,
|
||||
QgsProcessingParameterFeatureSource,
|
||||
QgsProcessingParameterNumber,
|
||||
QgsProcessingParameterColor)
|
||||
QgsProcessingParameterColor,
|
||||
QgsProcessingParameterPointCloudLayer)
|
||||
|
||||
from qgis.PyQt.QtCore import QCoreApplication
|
||||
|
||||
@ -107,6 +108,9 @@ def getParameterFromString(s, context=''):
|
||||
if clazz == QgsProcessingParameterRasterLayer:
|
||||
if len(params) > 3:
|
||||
params[3] = True if params[3].lower() == 'true' else False
|
||||
if clazz == QgsProcessingParameterPointCloudLayer:
|
||||
if len(params) > 3:
|
||||
params[3] = True if params[3].lower() == 'true' else False
|
||||
elif clazz == QgsProcessingParameterBand:
|
||||
if len(params) > 4:
|
||||
params[4] = True if params[4].lower() == 'true' else False
|
||||
|
Loading…
x
Reference in New Issue
Block a user