Issue Details (XML | Word | Printable)

Key: LIBOMV-403
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jim Radford
Reporter: Teravus
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

GridClient.Settings.MULTIPLE_SIMS true OnSimConnected Callback returns 0 Simulator.Handle

Created: 25/Oct/08 11:05 PM   Updated: 26/Oct/08 01:39 AM
Component/s: Networking
Affects Version/s: None
Fix Version/s: 0.6.0

Severity: Medium
Environment: All
Steps to Reproduce:
1. Set your GridClient object's .Settings.MULTIPLE_SIMS property to true.
2. Add a Network.OnSimConnected callback
3. In the OnSimConnected callback print the value of the Simulator.Handle the callback returns to you.

You'll notice that the region that you're a root agent in, returns the proper regionhandle. The sims that you're a child agent in return 0 for region handle.

Fixed in Revision: 2309


 Description  « Hide
When .Settings.MULTIPLE_SIMS = true;, LibOMV will connect to multiple regions, however, in the OnSimulatorConnected Callback, it passes in a Simulator object with a Handle property that's 0 for child regions.

This makes it impossible to tell where this sim is relative to other sims that you have.

Expected behavior:

Simulator object returns the proper region handle for the region that it's connected to regardless of agent status (root/child)



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Teravus added a comment - 26/Oct/08 01:36 AM
jradford fixed it!

Jim Radford added a comment - 26/Oct/08 01:38 AM
Fixed in r2309 - Thanks for the report and testing