Warp3DImageModule. Reduce workload by not calling to render the root prim twice. When loading prims to draw the map, the Warp3D system first calls to load the root prim, followed by all the prims in the SOG. The initial call to load the root prim is not required because it is also in the parts list. The result of this was that all root prims were being loaded twice.

Signed-off-by: Diva Canto <diva@metaverseink.com>
fsassets
AliciaRaven 2015-06-19 00:00:32 +01:00 committed by Diva Canto
parent 017d2cf417
commit c37315da87
1 changed files with 0 additions and 1 deletions

View File

@ -405,7 +405,6 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
m_scene.ForEachSOG(
delegate(SceneObjectGroup group)
{
CreatePrim(renderer, group.RootPart, useTextures);
foreach (SceneObjectPart child in group.Parts)
CreatePrim(renderer, child, useTextures);
}