da3fa111b0981d46cd071bf10a0dd4bcad1f60d4,labelme/widgets/canvas.py,Canvas,selectShapePoint,#Canvas#,386

Before Change


                self.selectedShape = shape
                self.calculateOffsets(shape, point)
                self.setHiding()
                self.selectionChanged.emit(True)
                return

    def calculateOffsets(self, shape, point):
        rect = shape.boundingRect()

After Change


                    self.setHiding()
                    if multiple_selection_mode:
                        if shape not in self.selectedShapes:
                            self.selectionChanged.emit(
                                self.selectedShapes + [shape])
                    else:
                        self.selectionChanged.emit([shape])
                    return
        self.deSelectShape()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: wkentaro/labelme
Commit Name: da3fa111b0981d46cd071bf10a0dd4bcad1f60d4
Time: 2019-05-17
Author: 34230114+IlyaOvodov@users.noreply.github.com
File Name: labelme/widgets/canvas.py
Class Name: Canvas
Method Name: selectShapePoint


Project Name: deeppomf/DeepCreamPy
Commit Name: f5a1b34066c4b2e2a7c2f2a40a89744846d1d50c
Time: 2020-01-02
Author: shmishmi79@gmail.com
File Name: decensor.py
Class Name: Decensor
Method Name: decensor_all_images_in_folder