Descriptive Problem Summary:
This is more of an annoyance than a bug, but I guess it would go in this section.
Adding things to an object's vis_contents is slow when the object is on the screen.
Numbered Steps to Reproduce Problem:
Add an object to the screen.
Add other objects to the first object's vis_contents.
Notice the new objects usually don't display instantly.
Code Snippet (if applicable) to Reproduce Problem:
https://www.dropbox.com/s/8h1qw3h5rjsw8v0/ vis_contents%20Slow_src.zip?dl=0
OnScreen() you'll notice the object almost never appears right away.
OffScreen() the object will appear right away every time.
Expected Results:
vis_contents are drawn immediately as added.
Actual Results:
vis_contents are not drawn immediately.
Does the problem occur:
Every time? Or how often? Y
In other games? Y
In other user accounts? Y
On other computers? Y
When does the problem NOT occur?
When the parent object is not on the screen when adding objects to vis_contents.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
vis_contents is new to 512
Workarounds:
Remove parent object from screen, add objects to vis_contents, add parent object back to screen.
ID:2347844
Feb 21 2018, 11:07 pm (Edited on Feb 21 2018, 11:16 pm)
|
|||||||||||||
Resolved
| |||||||||||||
Feb 21 2018, 11:19 pm
|
|
Thanks for the test case. I'll take a look and see what's going on. Pretty sure this will be an easy fix, although likely a server-side one.
|