[sldev] Finished sending prims?

Marine Kelley marinekelley at gmail.com
Tue Feb 5 02:50:51 PST 2008


2008/2/5, Qian Hao ~ <ts_ryuzo at hotmail.com>:
>
>  Hi,
>
> Is there any way to know when the server has finished sending the
> primitives for a scene. When my avatar is not moving.
>
> Regards,
> Qian Hao
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
> Hi, as far as I know the avatar is "frozen" during logon, while your
progress bar is still filling up. When it reaches about half-way the avatar
is able to hear and starts receiving prims (especially its own attachments,
in which scripts are set to running again, but there is no particular
priority), but cannot move nor chat. When the progress bar goes away you are
usually able to see most of the scene but the sim is still sending you
prims. There is no way to check it has finished sending them (of course),
but there is a simple atomic way to check your avatar is in "frozen state"
or "available". This snippet comes from newview/viewer.cpp @1907 :

                if (gViewerWindow->mWindow->getVisible()
                    && gViewerWindow->getActive()
                    && !gViewerWindow->mWindow->getMinimized()
                    && LLStartUp::getStartupState() == STATE_STARTED
                    && !gViewerWindow->getShowProgress()
                    && !gFocusMgr.focusLocked())
                {
                }

Hope this helps.

Marine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20080205/0c916e66/attachment.htm


More information about the SLDev mailing list