Changeset 2269
- Timestamp:
- 03/04/10 09:03:39 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FalconView/trunk/public/fvw_core/GeodataDataSources/LibkmlNetworkLink.cpp
r2267 r2269 188 188 // have a <Region> tag, it is loaded regardless.) 189 189 190 // we skip retrieving network links that aren't visible 191 VARIANT_BOOL visible; 192 get_Visible(&visible); 193 190 194 // if the given feature does not have a region, then find the youngest ancestor that does 191 195 kmldom::FeaturePtr feature = kmldom::AsFeature(m_networkLink); … … 193 197 feature = kmldom::AsFeature(CUtilityMethods::GetAncestorOfType(feature, kmldom::Type_Feature)); 194 198 195 if ( feature == NULL // feature is null if not regionated 199 if ( visible == VARIANT_TRUE 200 && (feature == NULL // feature is null if not regionated 196 201 || (m_degreesPerPixelX >= 0 && m_degreesPerPixelY >= 0 197 202 && CUtilityMethods::KMLFeatureInRegion(m_networkLink, m_leftLon, 198 203 m_bottomLat, m_rightLon, m_topLat, 199 m_degreesPerPixelX, m_degreesPerPixelY))) 204 m_degreesPerPixelX, m_degreesPerPixelY)))) 200 205 { 201 206 // get the base URL
