llBreakLink() doesn't update viewer
tracked
Belzebubble Resident
When you unlink items with script, using llBreakLink(), the unlinked item will often flicker, dissapear or is only visible from a certain angle, and the item cannot be interacted with until you cam away far enough and back or TP away and back, or you wait long enough till the sim sends an update to viewer. Also area search is failing to find the items if its more then one. it will only find one. When you unlink items manually it works fine. I tested it on several viewers, as well as the latest LL viewer, I tried different sims and asked many peopel if they see the same as I do . The script can still see and find the items fine, so it looks like it was simply forgotten to update the viewer after the operation, like what does happen when you unlink manually or rez items.
Log In
Atomic Infinity
Could you define a bit the conditions you find this happening? I have done projects with llBreakLink so would like to understand where I maybe will find issues.
I have another object that uses llBreakLink but I do not see those conditions happening on it - the object is clearly present with no glitches.
My object triggers its break link from a script within a child prim, and it is that child prim that breaks itself away from the rest of the linkset.
So I am wondering if the glitches could be influenced by where the break is called from?
Belzebubble Resident
sorry for some reason I wasnt notified about this reply. I call llBreakLink() from the root object. it unlinks an object that was linked a moment before with llCreateLink().
Belzebubble Resident
Atomic Infinity I picked this project up the other day and tried it your way, have the child prim unlink itself, but i have the same results.
SL Feedback
Hello, and thank you for your detailed bug report regarding llBreakLink() not updating the viewer properly. This issue has been brought up in the past and is currently tracked. We have no estimate when it may be resolved, but please keep an eye on future updates. We appreciate your input and hope you continue to share your observations to help improve Second Life. Thank you!
Belzebubble Resident
SL Feedback thank you so much for the quick response! Hope its gets fixed soon. I might be mistaken but to me it just seems a matter of looking at the code of llRezObject, which seems to update the viewer fine, and copy that line to the llBreaklink function, where it seems to be forgotten or removed. or assumed it wasnt needed because the item is technically already in world before it gets unlinked. I hope this maybe helps. have a great day!
SL Feedback
tracked