コード例 #1
0
 def ButtonUp(self, p, button, state):
     p = self.apply_constraint(p, state)
     Editor.DragStop(self, p)
     start_angle, end_angle, arc_type = self.angles()
     return CreateMultiUndo(self.object.SetAngles(start_angle, end_angle),
                            self.object.SetArcType(arc_type))
コード例 #2
0
 def ButtonUp(self, p, button, state):
     Editor.DragStop(self, p)