Prohibitting access to empty pointer in recursive image edge construction

parent a13f1f77
......@@ -298,6 +298,9 @@ namespace ITAPropagationPathSim
bool RecursiveConstructImageEdges(CPropagationShapeShared& pPropagationShape)
if( pPropagationShape == nullptr )
return false;
//if the type is face, just go one level deeper
if (pPropagationShape->iShapeType == CPropagationShape::EDGE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment