From ecc037dd1717506c004ff5b77b108e5106994cf4 Mon Sep 17 00:00:00 2001 From: zhivko Date: Wed, 3 Jun 2015 18:21:32 +0200 Subject: [PATCH] Added unRegisterAllPickableObjects to PickingSupport --- jzy3d-api/src/api/org/jzy3d/picking/PickingSupport.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jzy3d-api/src/api/org/jzy3d/picking/PickingSupport.java b/jzy3d-api/src/api/org/jzy3d/picking/PickingSupport.java index fa479855..fabe7c14 100644 --- a/jzy3d-api/src/api/org/jzy3d/picking/PickingSupport.java +++ b/jzy3d-api/src/api/org/jzy3d/picking/PickingSupport.java @@ -195,6 +195,11 @@ public class PickingSupport { } return picked; } + + public synchronized void unRegisterAllPickableObjects(){ + pickables.clear(); + pickableTargets.clear(); + } /*********************/