- View the diff current.
- View the source.
- Go to OpenSim/llGroundSet.
1: 2010-01-11 (Mon) 22:53:24 iseki | |||
---|---|---|---|
Line 1: | Line 1: | ||
+ | *** llSetTerrain(int x, int y, double height) [#ndfa0172] | ||
+ | - OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | ||
+ | public void llSetTerrain(int x, int y, double height) | ||
+ | { | ||
+ | m_host.AddScriptLPS(1); | ||
+ | World.Heightmap[x, y] = height; | ||
+ | ITerrainModule tm = m_ScriptEngine.World.RequestModuleInterface<ITerrainModule>(); | ||
+ | if (tm != null) | ||
+ | { | ||
+ | //tm.SetHeightMap(x, y, height); | ||
+ | tm.TaintTerrain(); | ||
+ | } | ||
+ | } |
- Backup list of OpenSim/llGroundSet
- Backup diff of OpenSim/llGroundSet(No. All)
- 1: 2010-01-11 (Mon) 22:53:24 iseki
- 2: 2010-01-11 (Mon) 23:36:54 iseki
- 3: 2010-01-12 (Tue) 15:20:13 iseki
- Cur: 2010-01-21 (Thu) 02:31:13 iseki