In method engineIOR() the CORBA_var object was freed as a normal C++ pointer - it raised exceptions and blocked GEOM module. This line is commented out, it fixes many bugs.

This commit is contained in:
asv 2006-07-26 07:57:33 +00:00
parent 1cc9d0bb1a
commit 0375941382

View File

@ -1615,7 +1615,7 @@ QString GeometryGUI::engineIOR() const
{ {
CORBA::String_var objStr = getApp()->orb()->object_to_string( GetGeomGen() ); CORBA::String_var objStr = getApp()->orb()->object_to_string( GetGeomGen() );
anIOR = QString( objStr.in() ); anIOR = QString( objStr.in() );
free( objStr ); // free( objStr ); ASV : 26.07.06 : commented out because it raises exception and blocks application
} }
return anIOR; return anIOR;
} }