* Added cautionary README.txt
parent
8b6d29ff2e
commit
cb28cc686b
|
@ -0,0 +1,9 @@
|
|||
!!!IMPORTANT NOTE!!!
|
||||
|
||||
This code snippet provided as an example of coding functional content with region modules.
|
||||
|
||||
As of 13/3 2008 this module actually renders all regions within the instance unusable if enabled by dragging the dll from ./bin to global /bin.
|
||||
|
||||
So, use at own peril and in dedicated instance.
|
||||
|
||||
Peace.
|
|
@ -78,7 +78,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
|||
|
||||
for (int i = 0; i < (objs*objs*objs); i++)
|
||||
{
|
||||
LLVector3 posOffset = new LLVector3((i % objs) * 4, (i % (objs*objs)) / ( objs ) * 4, (i / (objs*objs)) * 4);
|
||||
LLVector3 posOffset = new LLVector3((i % objs) * 4, ((i % (objs*objs)) / ( objs )) * 4, (i / (objs*objs)) * 4);
|
||||
ComplexObject complexObject =
|
||||
new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(),
|
||||
pos + posOffset);
|
||||
|
|
Loading…
Reference in New Issue