From ba6903bcce298e98157ad2d46702b0759143ca50 Mon Sep 17 00:00:00 2001 From: dbv Date: Tue, 6 Sep 2016 17:33:46 +0300 Subject: [PATCH] Debug for deflection dump --- src/ModelHighAPI/ModelHighAPI_Dumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp index 840374b18..2cd7d223f 100644 --- a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp @@ -446,7 +446,7 @@ bool ModelHighAPI_Dumper::isDefaultColor(const ResultPtr& theResult) const bool ModelHighAPI_Dumper::isDefaultDeflection(const ResultPtr& theResult) const { AttributeDoublePtr aDeflectionAttr = theResult->data()->real(ModelAPI_Result::DEFLECTION_ID()); - if(!aDeflectionAttr && !aDeflectionAttr->isInitialized()) { + if(!aDeflectionAttr || !aDeflectionAttr->isInitialized()) { return true; } -- 2.39.2