warn if a layer has no style
This commit is contained in:
parent
aa5cfad4b7
commit
4015d0c13b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue