New layer option: noLayerMeta#36
New layer option: noLayerMeta#36thoechsmann wants to merge 1 commit intothepeanutgalleryandco:mainfrom
Conversation
I added new layer option allowing to not create any meta data for that layer. Similar to ignoreAllNamesWithBlank, but for layers. I did this intentionally with a json setting instead of a file name filter as the former is much cleaner. I would vote for moving all config into the json and not use the filename for this at all.
|
When or how would you like to use this / Is this a real use-case? Usually, people just don't the empty layer item in the filename, I haven't seen complete folders being omitted before. |
|
its again about a bit confusing/inconsistent configuration. Some in src/config (I normally would never look into src to configure anything) some in layers, some in constants. To add more to the confusion, layer settings are done in the config.js while item config is done through the name of a file. |
|
Understood, thanks for the clarification. With regards to the use-case, can you check this out - "When or how would you like to use this / Is this a real use-case? Usually, people just don't the empty layer item in the filename, I haven't seen complete folders being omitted before." Do you have layers that you would like to use in your base, but then would not like them to be added to the metadata? What would the reasoning be for this? I haven't come across this use-case with anyone in the past 4 months, so its an interesting use-case. |
|
If you have a trait that is rendered on several layers you want the trait to be just shown once in the meta data. |
I added new layer option allowing to not create any meta data for a specific layer.
Similar to
ignoreAllNamesWithBlank, but for layers.I did this intentionally with a json setting instead of a file name filter as the former is much cleaner. I would vote for moving all config into the json and not use the filename for this at all.