RemoveAllObjects and Polylines

Started by voronwe13, September 03, 2014, 08:59:58 PM

Previous topic - Next topic

voronwe13

Is there a quick way to remove all polylines from a world?  World.removeAllObjects() doesn't appear to remove polylines, nor even World.removeAll().

EgonOlsen

There's no such thing ATM. You could use http://www.jpct.net/jpct-ae/doc/com/threed/jpct/World.html#removePolyline(com.threed.jpct.Polyline) on all Polylines. If that's isn't feasible, i can add the requested method.

voronwe13

Right now I am able to go through and remove them one by one, so it's not a huge deal.  A method for removing them (and/or at least having world.removeAll() remove them) would be a nice feature, if it's not difficult to add.