Skip to content

Commit

Permalink
Clear band list in initialize(). (#2521)
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 20, 2019
1 parent 61f8f17 commit 46d78dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/ColorizationFilter.cpp
Expand Up @@ -153,6 +153,7 @@ void ColorizationFilter::initialize()
m_dimSpec = { "Red", "Green", "Blue" };

uint32_t defaultBand = 1;
m_bands.clear();
for (std::string& dim : m_dimSpec)
{
try
Expand All @@ -169,7 +170,6 @@ void ColorizationFilter::initialize()
throwError("invalid --dimensions option: '" + dim + "': " + what);
}
}

}


Expand Down

0 comments on commit 46d78dd

Please sign in to comment.