mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-22 02:15:38 +05:00
IPAL 18096
This commit is contained in:
parent
e76c9ecaee
commit
775b31fe49
@ -283,6 +283,12 @@ GEOM::GEOM_IOperations_ptr BooleanGUI_Dialog::createOperation()
|
||||
//=================================================================================
|
||||
bool BooleanGUI_Dialog::isValid( QString& msg )
|
||||
{
|
||||
Handle(SALOME_InteractiveObject) IO = firstIObject();
|
||||
Standard_Boolean testResult;
|
||||
GEOM::GEOM_Object_var anObject = GEOMBase::ConvertIOinGEOMObject( IO, testResult );
|
||||
if ( !testResult || anObject->_is_nil() )
|
||||
return false;
|
||||
|
||||
return !CORBA::is_nil( myObject1 ) && !CORBA::is_nil( myObject2 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user