View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002841 | FreeCAD | Patch | public | 2017-01-11 05:32 | 2017-01-11 17:03 |
| Reporter | tobycz | Assigned To | yorik | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| OS | Ubuntu | OS Version | 16.04.1 LTS | ||
| Product Version | 0.16 | ||||
| Summary | 0002841: Draft.makeWire gives error message from Coin | ||||
| Description | Calls to Draft.makeWire give error messages from Coin. Coin error in SoGroup::removeChild(): tried to remove non-existent child 0x2e21e00 (Sphere) Coin error in SoGroup::removeChild(): tried to remove non-existent child 0x2e21a00 (Separator) The problem is in the _ViewProviderWire class. This lines are problematic, children are removed without checking if they exist. self.pt.removeChild(self.symbol) rn.removeChild(self.pt) I have attached a patch which works for me. Maybe there is a more elegant solution to check whether children exist. | ||||
| Additional Information | OS: Ubuntu 16.04.1 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6707 (Git) Build type: None Branch: releases/FreeCAD-0-16 Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f Python version: 2.7.12 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 6.8.0.oce-0.17 | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-01-11 05:32 | tobycz | New Issue | |
| 2017-01-11 05:32 | tobycz | File Added: Draft.py.patch | |
| 2017-01-11 17:02 | yorik | Note Added: 0007635 | |
| 2017-01-11 17:03 | yorik | Status | new => closed |
| 2017-01-11 17:03 | yorik | Assigned To | => yorik |
| 2017-01-11 17:03 | yorik | Resolution | open => no change required |
FreeCAD