Closed GoogleCodeExporter closed 8 years ago
I believe I've fixed this with the re-instatement of the MergeCommonObjects()
call. Is this alright now?
Original comment by David.Ni...@gmail.com
on 12 Nov 2010 at 10:40
I pulled the latest source code and managed to compile it (HeeksCAD and
HeeksCNC). Still see the issue. If I open the file I previously attached, I
see the duplicate sketches still for some of the profile operations (duplicate
in the objects view, but not in the drawing window). The file's XML does not
contain duplicates, however. So it seems to occur as part of the file read
process into HeeksCAD. If I make a change and resave the file, it adds the
duplicates to the file XML (see attached). If I open the file again, I now see
three identical sketches (from 2). So every time I open and resave, a new
duplicate sketch object show up in the object view.
This problem does not occur with the first profile op that uses a sketch object.
It seems to be happening when I reuse the same sketch object in any subsequent
profile operation.
This might be another hint: When I select the duplicate sketch object under
the profile op, all the identical sketch objects highlight. If I delete the
sketch object under the profile op, one of the duplicate sketch objects remain
under the profile op. The sketch object at the higher level gets deleted. If
I undo the deletion, I see the higher level sketch object return. But now the
two identical sketch objects actually become two separate objects in the
drawing view (two identical drawings, each selectable). In the properties box
these sketch objects have the same ID. Not sure how two objects can have the
same ID and be treated different.
It's a bit frustrating because if I save a project and go back to it, it gets
corrupted this way. The only fix I have found is after I open the file, I use
the 're-select sketches' process for the profile op to replace the duplicates.
Original comment by filipmul...@q.com
on 14 Nov 2010 at 1:50
Attachments:
Original issue reported on code.google.com by
filipmul...@q.com
on 11 Nov 2010 at 11:39Attachments: