mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
This commit is contained in:
@@ -282,6 +282,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osSetPenSize(drawList, penSize);
|
||||
}
|
||||
|
||||
public string osSetPenCap(string drawList, string direction, string type)
|
||||
{
|
||||
return m_OSSL_Functions.osSetPenCap(drawList, direction, type);
|
||||
}
|
||||
|
||||
public string osSetPenColour(string drawList, string colour)
|
||||
{
|
||||
return m_OSSL_Functions.osSetPenColour(drawList, colour);
|
||||
|
||||
Reference in New Issue
Block a user