def partitioningSmooth_activate_cb(self, action): if self.getCurrentProject() is None: NetzobErrorMessage(_("No project selected.")) return layers = self.view.getCheckedLayerList() if layers == []: NetzobErrorMessage(_("No symbol selected.")) return smooth_controller = SmoothPartitioningController(self, layers) smooth_controller.run()
def smoothPartitionment_cb(self, action): smooth_controller = SmoothPartitioningController(self.vocabularyController, [self.layers[0]]) smooth_controller.run()
def smoothPartitionment_cb(self, action): smooth_controller = SmoothPartitioningController( self.vocabularyController, [self.layers[0]]) smooth_controller.run()