aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting
diff options
context:
space:
mode:
authorArthur Valadares2009-08-28 17:48:03 -0300
committerArthur Valadares2009-08-28 17:48:03 -0300
commit3d6edc04a309757ce025e74aaf7168ef759a2ef3 (patch)
tree2523e70e2810467561a35b6f1e04c75dbdc77e7a /OpenSim/Region/CoreModules/Scripting
parentStandardize FlotsamAssetCache header (diff)
downloadopensim-SC_OLD-3d6edc04a309757ce025e74aaf7168ef759a2ef3.zip
opensim-SC_OLD-3d6edc04a309757ce025e74aaf7168ef759a2ef3.tar.gz
opensim-SC_OLD-3d6edc04a309757ce025e74aaf7168ef759a2ef3.tar.bz2
opensim-SC_OLD-3d6edc04a309757ce025e74aaf7168ef759a2ef3.tar.xz
Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index e577fbe..e83b1a8 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -484,6 +484,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
484 GetParams(partsDelimiter, ref nextLine, 11, ref points); 484 GetParams(partsDelimiter, ref nextLine, 11, ref points);
485 graph.FillPolygon(myBrush, points); 485 graph.FillPolygon(myBrush, points);
486 } 486 }
487 else if (nextLine.StartsWith("Polygon"))
488 {
489 PointF[] points = null;
490 GetParams(partsDelimiter, ref nextLine, 7, ref points);
491 graph.DrawPolygon(drawPen, points);
492 }
487 else if (nextLine.StartsWith("Ellipse")) 493 else if (nextLine.StartsWith("Ellipse"))
488 { 494 {
489 float x = 0; 495 float x = 0;