New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
instance_id for new objects in rooms is incorrect if there are gaps. #180
Comments
One way to fix this problem is to call 'Defrags Ids' menu ('Resources->Defrag Ids'). |
This is a good short-term fix, thanks. But I think we need to fix this at the editor level too; it's no fun having two instances with the same id (one will just silently overwrite the other). |
@sorlok If you do not mind I am going to close this actually because it is a duplicate of #82 but I think I may fix it in this next LGM release I am going to make within the next few months. I am linking the ticket still because you have the steps to reproduce it. It should be easy to fix, but we don't need two tickets. |
This was finally corrected in 1.8.7 by properly reading and writing the instance names in the GMX format. I was only able to reproduce sorlok's issue with the GMX file handlers. I also discovered that I was not updating the lastId properly which caused the issue. LateralGM/org/lateralgm/file/GMXFileReader.java Line 1873 in 3d51e5d
|
Steps to reproduce:
Any ideas?
The text was updated successfully, but these errors were encountered: