Revision 8297 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toolListeners/InfoListener.java

View differences:

InfoListener.java
383 383
			if (laCapa instanceof InfoByPoint) {
384 384
				try {
385 385
					InfoByPoint layer = (InfoByPoint) laCapa;
386
					aux = layer.getInfo(imagePoint, tol);
387
					for(int j = 0; j < aux.length; j++){
388
						itemsVector.add(aux[j]);
389
						numLayersInfoable++;
386
					if (!(laCapa.getParentLayer().isActive())){
387
						aux = layer.getInfo(imagePoint, tol);
388
						for(int j = 0; j < aux.length; j++){
389
							itemsVector.add(aux[j]);
390
							numLayersInfoable++;
391
						}
390 392
					}
391 393
				} catch (DriverException e) {
392 394
					throw new BehaviorException("Processing layer",e);
......
412 414
				}
413 415

  
414 416
			} catch (Exception e) {
415
				NotificationManager.addError("CostasFeatureInfo", e);
417
				NotificationManager.addError("FeatureInfo", e);
416 418
				e.printStackTrace();
417 419
			}
418 420
			dlgXML.setLayers(items);

Also available in: Unified diff