View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002563 | FreeCAD | Bug | public | 2016-05-26 12:44 | 2016-05-29 01:35 |
Reporter | plasticsun | Assigned To | yorik | ||
Priority | low | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | AMD 64 | OS | Ubuntu | OS Version | 14.04.4 LTS |
Product Version | 0.16 | ||||
Summary | 0002563: Snapper.getPoint(): cancelling selection gives error for two-argument-handler | ||||
Description | The Snapper.getPoint.cancel() function should not assume, that Snapper.getPoint() was called with a single-argument callback. For a two-argument callback, an exception is raised: <type 'exceptions.TypeError'>: cb() takes exactly 2 arguments (1 given) | ||||
Steps To Reproduce | Execute def cb(point, obj): if point: print "got a 3D point: ", point FreeCADGui.Snapper.getPoint(callback=cb) then press Esc. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-26 12:44 | plasticsun | New Issue | |
2016-05-29 01:35 | yorik | Changeset attached | => FreeCAD Master master 9c899813 |
2016-05-29 01:35 | yorik | Assigned To | => yorik |
2016-05-29 01:35 | yorik | Status | new => closed |
2016-05-29 01:35 | yorik | Resolution | open => fixed |