Applies patch from Mantis#175 courtest of lkalif - Fixes TestClient ImportCommand to handle light settings and sculpted prims properly.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1689 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -189,7 +189,17 @@ namespace libsecondlife.TestClient
|
||||
// TODO: Is there a way to set all of this at once, and update more ObjectProperties stuff?
|
||||
Client.Objects.SetPosition(simulator, prim.LocalID, currentPosition);
|
||||
Client.Objects.SetTextures(simulator, prim.LocalID, currentPrim.Textures);
|
||||
Client.Objects.SetLight(simulator, prim.LocalID, currentPrim.Light);
|
||||
|
||||
if (currentPrim.Light.Intensity > 0) {
|
||||
Client.Objects.SetLight(simulator, prim.LocalID, currentPrim.Light);
|
||||
}
|
||||
|
||||
Client.Objects.SetFlexible(simulator, prim.LocalID, currentPrim.Flexible);
|
||||
|
||||
if (currentPrim.Sculpt.SculptTexture != LLUUID.Zero) {
|
||||
Client.Objects.SetSculpt(simulator, prim.LocalID, currentPrim.Sculpt);
|
||||
}
|
||||
|
||||
Client.Objects.SetFlexible(simulator, prim.LocalID, currentPrim.Flexible);
|
||||
|
||||
if (!String.IsNullOrEmpty(currentPrim.Properties.Name))
|
||||
|
||||
Reference in New Issue
Block a user