From 74feef4718770d20273aa97f9176484149f178ae Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 12 Dec 2018 11:25:33 +0100 Subject: Improve config error handling --- src/ParallelVecProjectionGeometry3D.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ParallelVecProjectionGeometry3D.cpp') diff --git a/src/ParallelVecProjectionGeometry3D.cpp b/src/ParallelVecProjectionGeometry3D.cpp index ed15b68..5dc3df8 100644 --- a/src/ParallelVecProjectionGeometry3D.cpp +++ b/src/ParallelVecProjectionGeometry3D.cpp @@ -75,7 +75,8 @@ bool CParallelVecProjectionGeometry3D::initialize(const Config& _cfg) XMLNode node; // initialization of parent class - CProjectionGeometry3D::initialize(_cfg); + if (!CProjectionGeometry3D::initialize(_cfg)) + return false; // success m_bInitialized = _check(); -- cgit v1.2.3