CamBam

FeedBack => Bug Reports => Topic started by: jk on September 06, 2018, 16:15:54 pm

Title: [V1-19] - losing object references after layer deletion and undo (solved in RC1)
Post by: jk on September 06, 2018, 16:15:54 pm
If layer with objects is deleted and restored back via undo, mops don't see these objects anymore.

How to reproduce:

open the attached file, generate the toolpaths and see all is ok.
now delete the layer 0, generate the toolpaths - mops lose the objects and obviously complain.
restore back the layer via ctrl+z, generate the toolpaths - mops still complain though shouldn't.
now put two new polylines on layer 0. the second one will have id == 2. now we have two objects with the same id !

Title: Re: CB 1.0r15 - losing object references after layer deletion and undo
Post by: dh42 on September 06, 2018, 17:34:46 pm
Hello

Tried on R16 on Windows ; as for you, after restoring the layer, toolpath are not generated (but the right IDs are still in the MOP ID property) and a warning is displayed in the log windows

If I add a new geometry, I get a correct ID (ID = 1 in this case) but not with a second (#2 as one existing object)

If I undo, the (wrong) geometry #2 is removed as expected .. and now, if I generate toolpath, that works ...

++
David
Title: Re: CB 1.0r15 - losing object references after layer deletion and undo
Post by: jk on September 06, 2018, 18:24:03 pm
... and if we do save and reload file after the undo, objects are correctly referenced again.
Title: Re: CB 1.0r15 - losing object references after layer deletion and undo
Post by: Bob La Londe on September 09, 2018, 14:17:52 pm
I've noticed a number of times in both 098 and 1.0 that when a CB session becomes unstable you can often recover and continue if you save, close, restart, and reopen.