Changeset 2297

Show
Ignore:
Timestamp:
03/09/10 08:09:04 (5 months ago)
Author:
gm78
Message:

Visibility tag for a KML feature doesn't need to be checked. The visibility member will be set with the default automatically. This fixes features that were not showing as visible if they didn't have a visibility tag.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FalconView/trunk/public/fvw_core/GeodataDataSources/UtilityMethods.cpp

    r2286 r2297  
    712712 
    713713   // In order for a feature to be visible, the <visibility> tag of all its ancestors must also be set to 1 
    714    if (feature->has_visibility() && feature->get_visibility() == true) 
     714   if (feature->get_visibility() == true) 
    715715      return KMLFeatureVisible(kmldom::AsFeature(GetAncestorOfType(feature, kmldom::Type_Feature))); 
    716716