mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Small optimisation on Weathering paint brush.
* Added "script terrain newbrushes <true|false>" to enable experimental terraforming brushes. Presently the 'revert' brush is replaced with the Weathering brush, when enabled.
This commit is contained in:
@@ -332,6 +332,16 @@ namespace OpenSim.Region.Environment.Modules.Terrain
|
||||
m_channel[x, y] = Double.Parse(param);
|
||||
SendUpdatedLayerData();
|
||||
break;
|
||||
case "newbrushes":
|
||||
if (Boolean.Parse(param))
|
||||
{
|
||||
m_painteffects[StandardTerrainEffects.Revert] = new PaintBrushes.WeatherSphere();
|
||||
}
|
||||
else
|
||||
{
|
||||
InstallDefaultEffects();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
m_log.Warn("Unknown terrain command.");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user