View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000554 | FreeCAD | Bug | public | 2011-12-29 00:52 | 2011-12-29 17:26 |
Reporter | normandc | Assigned To | logari81 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 0.13 | ||||
Summary | 0000554: Sketcher: adding angle constraint on a single line crashes FreeCAD | ||||
Description | The Sketcher angle constraint works fine if two lines are selected. But if a single line is selected, FreeCAD immediately quits. It used to be that if only one line was selected, the angle constraint was added between the line and a standard axis. Steps to reproduce: 1 - In Sketcher workbench, create new sketch 2 - Draw a line without vertical or horizontal constraint 3 - Select it 4 - Click on the angle constraint tool | ||||
Additional Information | FreeCAD version 0.13-bzr4989 on Ubuntu 11.10 64-Bit | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
This happens in ViewProviderSketch::draw(bool) in line 2210. The second assert() there fails with the condition Constr->Second=-2000 and extGeoCount=2 and intGeoCount=1 |
|
yes, it was a too strict assertion, thanks for the report, it is fixed now. |
|
Fixed in rev 5358 |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-29 00:52 | normandc | New Issue | |
2011-12-29 10:51 | wmayer | Note Added: 0001515 | |
2011-12-29 10:51 | wmayer | Assigned To | => logari81 |
2011-12-29 10:51 | wmayer | Status | new => confirmed |
2011-12-29 15:27 | logari81 | Note Added: 0001518 | |
2011-12-29 15:27 | logari81 | Resolution | open => fixed |
2011-12-29 17:26 | wmayer | Note Added: 0001520 | |
2011-12-29 17:26 | wmayer | Status | confirmed => closed |
2011-12-29 17:26 | wmayer | Fixed in Version | => 0.13 |