CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 16, 2018, 14:20:22 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: [V1-19] - losing object references after layer deletion and undo  (Read 311 times)
jk
Wookie
****
Online Online

Posts: 261


View Profile
« on: September 06, 2018, 17: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 !


* losing_objects_bug.zip (1.74 KB - downloaded 11 times.)
« Last Edit: September 27, 2018, 18:39:08 pm by dh42 » Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5214



View Profile WWW
« Reply #1 on: September 06, 2018, 18: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, 18:38:06 pm by dh42 » Logged
jk
Wookie
****
Online Online

Posts: 261


View Profile
« Reply #2 on: September 06, 2018, 19:24:03 pm »

... and if we do save and reload file after the undo, objects are correctly referenced again.
Logged
Bob La Londe
CNC Jedi
*****
Offline Offline

Posts: 3386


^ 8.5 pounds on my own hand poured bait.


View Profile WWW
« Reply #3 on: September 09, 2018, 15: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. 


Logged

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.099 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap