warn if a layer has no style

This commit is contained in:
Dane Springmeyer 2011-09-05 19:32:24 +00:00
parent aa5cfad4b7
commit 4015d0c13b

View file

@ -191,6 +191,7 @@ void feature_style_processor<Processor>::apply_to_layer(layer const& lay, Proces
unsigned int num_styles = style_names.size();
if (!num_styles) {
std::clog << "WARNING: No style for layer '" << lay.name() << "'\n";
return;
}