Skip to content

Commit 2fafaac

Browse files
committed
Update ClipData.py
fixed wrong executable call
1 parent e6d495a commit 2fafaac

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

python/plugins/processing/algs/lidar/fusion/ClipData.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def defineCharacteristics(self):
5555
self.addAdvancedModifiers()
5656

5757
def processAlgorithm(self, progress):
58-
commands = [os.path.join(FusionUtils.FusionPath(), 'FilterData.exe')]
58+
commands = [os.path.join(FusionUtils.FusionPath(), 'ClipData.exe')]
5959
commands.append('/verbose')
6060
self.addAdvancedModifiersToCommand(commands)
6161
commands.append('/shape:' + unicode(self.getParameterValue(self.SHAPE)))
@@ -65,16 +65,13 @@ def processAlgorithm(self, progress):
6565
else:
6666
FusionUtils.createFileList(files)
6767
commands.append(FusionUtils.tempFileListFilepath())
68-
outFile = self.getOutputValue(self.OUTPUT) + '.lda'
68+
outFile = self.getOutputValue(self.OUTPUT)
6969
commands.append(outFile)
7070
extent = unicode(self.getParameterValue(self.EXTENT)).split(',')
7171
commands.append(extent[0])
7272
commands.append(extent[2])
7373
commands.append(extent[1])
7474
commands.append(extent[3])
7575
FusionUtils.runFusion(commands, progress)
76-
commands = [os.path.join(FusionUtils.FusionPath(), 'LDA2LAS.exe')]
77-
commands.append(outFile)
78-
commands.append(self.getOutputValue(self.OUTPUT))
7976
p = subprocess.Popen(commands, shell=True)
8077
p.wait()

0 commit comments

Comments
 (0)