Heeks / heekscnc

HeeksCNC is an CAM add-on for HeeksCAD

Home Page:http://sites.google.com/site/heekscad/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

creating a new locating operation causes segfault.

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Start HeeksCAD and open a file.  I used the sample file simplepocket.heeks
2. Expand the object tree and set the active line on 'Operations'
3. From the machining menu, click on 'new locating operation...'
4. Kaboom.

This only seems to happen if the 'operations' node is active in the object
tree.

What is the expected output? What do you see instead?
I expect a new locating operation.  I see a segfault.


Original issue reported on code.google.com by shopinth...@gmail.com on 8 Dec 2009 at 3:33

I was probably misusing the operation.  I should have a sketch or point selected
instead of the operations node of the tree.   Still, it should raise an error 
and not
segfault.

Original comment by shopinth...@gmail.com on 8 Dec 2009 at 3:43

Confirmed, it crashes .. seems like a bug to me =)

Original comment by tomas.wilhelmsson@gmail.com on 8 Dec 2009 at 5:36

Fixed (hopefully).

I added a check to see if the type of selected objects (if any) are valid as 
input
for the various operations.  This was done for Locating, Counterbore and 
Drilling
operations.

Original comment by David.Ni...@gmail.com on 8 Dec 2009 at 10:17

  • Changed state: Fixed