diff options
-rw-r--r-- | src/classes/share/javax/media/j3d/PickInfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/classes/share/javax/media/j3d/PickInfo.java b/src/classes/share/javax/media/j3d/PickInfo.java index 78c8ab3..24e416d 100644 --- a/src/classes/share/javax/media/j3d/PickInfo.java +++ b/src/classes/share/javax/media/j3d/PickInfo.java @@ -803,7 +803,12 @@ public class PickInfo extends Object { // Order is impt. Need to do in reverse order. for(int i = pickInfoListSize - 1; i >= 0; i--) { pickInfo = (PickInfo) pickInfoList.get(i); + pickNode = pickInfo.getNode(); + if( pickNode == null) { + // Use the piggy reference from getPickInfos() + pickNode = pickInfo.getNodeRef(); + } if (pickNode instanceof Shape3D) { |