Ignore:
Timestamp:
Jan 19, 2016, 11:45:44 AM (9 years ago)
Author:
ldelgass
Message:

Add backing quad to placard annotation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Picker.cpp

    r5944 r5961  
    203203        osgEarth::Symbology::Style style;
    204204        osgEarth::Symbology::TextSymbol *ts = style.getOrCreateSymbol<osgEarth::Symbology::TextSymbol>();
    205         ts->halo()->color() = osgEarth::Symbology::Color(0, 0, 0);
    206         ts->halo()->width() = 2;
    207         ts->fill()->color() = osgEarth::Symbology::Color(1, 1, 1);
     205        //ts->halo()->color() = osgEarth::Symbology::Color(1, 1, 1);
     206        //ts->halo()->width() = 2;
     207        ts->fill()->color() = osgEarth::Symbology::Color(0, 0, 0);
    208208        ts->size() = 14;
    209209        //ts->alignment() = alignment;
     
    261261    for (unsigned int i = 0; i < nodes->getNumChildren(); i++) {
    262262        osg::Node *node = nodes->getChild(i);
    263         if (dynamic_cast<osgEarth::Annotation::LabelNode *>(node) != NULL) {
     263        if (dynamic_cast<osgEarth::Annotation::OrthoNode *>(node) != NULL) {
    264264            toRemove.push_back(node);
    265265        }
Note: See TracChangeset for help on using the changeset viewer.