Changeset 5961 for geovis/trunk/Picker.cpp
- Timestamp:
- Jan 19, 2016, 11:45:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geovis/trunk/Picker.cpp
r5944 r5961 203 203 osgEarth::Symbology::Style style; 204 204 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); 208 208 ts->size() = 14; 209 209 //ts->alignment() = alignment; … … 261 261 for (unsigned int i = 0; i < nodes->getNumChildren(); i++) { 262 262 osg::Node *node = nodes->getChild(i); 263 if (dynamic_cast<osgEarth::Annotation:: LabelNode *>(node) != NULL) {263 if (dynamic_cast<osgEarth::Annotation::OrthoNode *>(node) != NULL) { 264 264 toRemove.push_back(node); 265 265 }
Note: See TracChangeset
for help on using the changeset viewer.