Revision 31732
branches/gvSIG_19_ext3D_osgVP_2_2_0/libraries/lib3DMap/src/org/gvsig/gvsig3d/map3d/MapContext3D.java | ||
---|---|---|
12 | 12 |
import java.io.IOException; |
13 | 13 |
import java.util.Hashtable; |
14 | 14 |
import java.util.Iterator; |
15 |
import java.util.Timer; |
|
15 | 16 |
import java.util.Vector; |
16 | 17 |
|
17 | 18 |
import javax.print.attribute.PrintRequestAttributeSet; |
... | ... | |
1086 | 1087 |
|
1087 | 1088 |
UpdateDataEvent ude = new UpdateDataEvent(); |
1088 | 1089 |
ude.copyDataFromRequest(rde); |
1090 |
|
|
1089 | 1091 |
|
1090 | 1092 |
String layerID = rde.getLayer().getLayerID(); |
1091 | 1093 |
FLayer layer = (FLayer) _terrainLayerMap.get(layerID); |
... | ... | |
1142 | 1144 |
} |
1143 | 1145 |
|
1144 | 1146 |
if (failData) { |
1145 |
ude.setFailData(); |
|
1147 |
return null; |
|
1148 |
//ude.setFailData(); |
|
1146 | 1149 |
} else { |
1147 | 1150 |
switch (dataType) { |
1148 | 1151 |
case Layer3DProps.layer3DImage: |
branches/gvSIG_19_ext3D_osgVP_2_2_0/libraries/lib3DMap/src/org/gvsig/gvsig3d/cacheservices/FLayerCacheService.java | ||
---|---|---|
159 | 159 |
|
160 | 160 |
try { |
161 | 161 |
_layer.draw(image, graphics, vp, new MyCancel(), scale); |
162 |
} catch (ReadDriverException e) {
|
|
163 |
e.printStackTrace();
|
|
162 |
} catch (Exception e) { |
|
163 |
return null;
|
|
164 | 164 |
} |
165 | 165 |
// Restoring the real value of transparency |
166 | 166 |
if (_layer.getClass().equals(FLyrVect.class)) { |
Also available in: Unified diff