Uncommented lines of code that should not have been commented.

* Undo of commenting that should not have made it into a previous commit.
This commit is contained in:
davyw
2011-12-07 18:57:51 -05:00
committed by Mark Pictor
parent 5e9dfd7e94
commit 0869e41b28
+2 -2
View File
@@ -623,7 +623,7 @@ SDAI_Application_instance * ReadEntityRef( istream & in, ErrorDescriptor * err,
SDAI_Application_instance* inst;
/* If there is a ManagerNode it should have a SDAI_Application_instance */
MgrNode * mn = 0;
//mn = instances->FindFileId( id );
mn = instances->FindFileId( id );
if( mn ) {
inst = mn->GetSTEPentity() ;
if( inst ) {
@@ -790,7 +790,7 @@ Severity EntityValidLevel( const char * attrValue, // string contain entity ref
err->AppendToDetailMsg( messageBuf );
err->GreaterSeverity( SEVERITY_WARNING );
}
//mn = im->FindFileId( fileId );
mn = im->FindFileId( fileId );
if( mn ) {
SDAI_Application_instance *se = mn->GetSTEPentity();
return EntityValidLevel( se, ed, err );