diff --git a/mapproxy/src/mapproxy/resource.cpp b/mapproxy/src/mapproxy/resource.cpp index df5e8c0..7ba1a9d 100644 --- a/mapproxy/src/mapproxy/resource.cpp +++ b/mapproxy/src/mapproxy/resource.cpp @@ -532,8 +532,6 @@ Changed Resource::changed(const Resource &o) const return Changed::yes; } - // TODO: registry ? - // check definition, it must check mandatory stuff first, save stuff // second auto def(definition_->changed(*o.definition())); @@ -543,6 +541,8 @@ Changed Resource::changed(const Resource &o) const if (changedCredits) { return Changed::safely; } + if (registry != o.registry) { return Changed::safely; } + // not changed at all return Changed::no; }