From aaa03c1efb04904bf1dfc0491c1ee09cf75d6a94 Mon Sep 17 00:00:00 2001 From: atychini Date: Sun, 26 Jun 2022 20:03:59 +0300 Subject: [PATCH] 0033029: Warning on Windows 32 and 64 with VC14 after the integration of ticket 32821 Warning has been fixed by adding condition. --- src/IGESCAFControl/IGESCAFControl_Provider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IGESCAFControl/IGESCAFControl_Provider.cxx b/src/IGESCAFControl/IGESCAFControl_Provider.cxx index dd184faec6..fa8084ace0 100644 --- a/src/IGESCAFControl/IGESCAFControl_Provider.cxx +++ b/src/IGESCAFControl/IGESCAFControl_Provider.cxx @@ -63,7 +63,7 @@ void IGESCAFControl_Provider::initStatic(const Handle(DE_ConfigurationNode)& the myOldValues.ReadApproxd1 = Interface_Static::IVal("read.iges.bspline.approxd1.mode") == 1; myOldValues.ReadResourceName = Interface_Static::CVal("read.iges.resource.name"); myOldValues.ReadSequence = Interface_Static::CVal("read.iges.sequence"); - myOldValues.ReadFaultyEntities = Interface_Static::IVal("read.iges.faulty.entities"); + myOldValues.ReadFaultyEntities = Interface_Static::IVal("read.iges.faulty.entities") == 1; myOldValues.ReadOnlyVisible = Interface_Static::IVal("read.iges.onlyvisible") == 1; myOldValues.WriteBRepMode = (IGESCAFControl_ConfigurationNode::WriteMode_BRep)Interface_Static::IVal("write.iges.brep.mode");