Skip to content
Snippets Groups Projects
Commit a661e7a8 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

Backed out changeset 32460a398b06

parent b18aa286
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ MapProjectionWrapper::~MapProjectionWrapper()
MapProjectionWrapper::InternalMapProjectionPointer MapProjectionWrapper::GetMapProjection()
{
itkDebugMacro("returning MapProjection address " << this->m_MapProjection);
if ((reinstanciateProjection) /*|| (m_MapProjection == NULL)*/)
if ((reinstanciateProjection) || (m_MapProjection == NULL))
{
this->InstanciateProjection();
}
......@@ -61,7 +61,7 @@ MapProjectionWrapper::InternalMapProjectionPointer MapProjectionWrapper::GetMapP
MapProjectionWrapper::InternalMapProjectionConstPointer MapProjectionWrapper::GetMapProjection() const
{
itkDebugMacro("returning MapProjection address " << this->m_MapProjection);
if ((reinstanciateProjection) /*|| (m_MapProjection == NULL)*/)
if ((reinstanciateProjection) || (m_MapProjection == NULL))
{
itkExceptionMacro(<< "m_MapProjection not up-to-date, call InstanciateProjection() first");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment