Author Topic: [V1-19] - losing object references after layer deletion and undo (solved in RC1)  (Read 1886 times)

Offline jk

  • Wookie
  • ****
  • Posts: 265
    • View Profile
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 !

« Last Edit: November 01, 2019, 21:56:56 pm by dh42 »

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6013
    • View Profile
    • Cambam V1.0 French Doc
Re: CB 1.0r15 - losing object references after layer deletion and undo
« Reply #1 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
« Last Edit: September 06, 2018, 17:38:06 pm by dh42 »

Offline jk

  • Wookie
  • ****
  • Posts: 265
    • View Profile
Re: CB 1.0r15 - losing object references after layer deletion and undo
« Reply #2 on: September 06, 2018, 18:24:03 pm »
... and if we do save and reload file after the undo, objects are correctly referenced again.

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 3943
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: CB 1.0r15 - losing object references after layer deletion and undo
« Reply #3 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. 


Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com