PolyLine Round Joins via Script
When creating a PolyLine via script the Joins setting doesn't seem to be taken into account until I move some point in the Editor or change the Joins setting to something else and back to Round in the editor. When setting it to Round via script it still remains sharp.
This is my code:
Shapes.Polyline spl = this.gameObject.AddComponent<Shapes.Polyline>();
spl.BlendMode = Shapes.ShapesBlendMode.Transparent;
spl.ScaleMode = Shapes.ScaleMode.Uniform;
spl.ThicknessSpace = Shapes.ThicknessSpace.Meters;
spl.Closed = false;
spl.Geometry = Shapes.PolylineGeometry.Flat2D;
spl.Joins = Shapes.PolylineJoins.Round;
// Add points
spl.AddPoint(new Vector3(2.0f, 0.0f, 0.0f));
spl.meshOutOfDate = true;
Is this a bug or am I missing something?