mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user