From: nds Date: Thu, 21 Apr 2016 08:23:45 +0000 (+0300) Subject: #1404 Random crash with Shaper: AIS presentations: avoid IsReadyToDisplay calling... X-Git-Tag: V_2.3.0~160 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2f6edb10242e3ea7be4dedb2a39d7d110a666f6;p=modules%2Fshaper.git #1404 Random crash with Shaper: AIS presentations: avoid IsReadyToDisplay calling twice. --- diff --git a/src/PartSet/PartSet_OperationPrs.cpp b/src/PartSet/PartSet_OperationPrs.cpp index a749611f5..3573cb399 100755 --- a/src/PartSet/PartSet_OperationPrs.cpp +++ b/src/PartSet/PartSet_OperationPrs.cpp @@ -113,7 +113,7 @@ void PartSet_OperationPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t } if (!aReadyToDisplay) { - Events_Error::throwException("An empty AIS presentation: PartSet_OperationPrs"); + //Events_Error::throwException("An empty AIS presentation: PartSet_OperationPrs"); //std::shared_ptr aMsg = std::shared_ptr( // new Events_Message(Events_Loop::eventByName(EVENT_EMPTY_OPERATION_PRESENTATION))); //Events_Loop::loop()->send(aMsg);