mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Improve CheckShape function
This commit is contained in:
parent
e2dcf4323c
commit
218ffc54e0
@ -202,10 +202,10 @@ CORBA::Boolean GEOM_IMeasureOperations_i::CheckShape (GEOM::GEOM_Object_ptr theS
|
||||
TCollection_AsciiString aDump;
|
||||
if (GetOperations()->CheckShape(aShape, aDump))
|
||||
{
|
||||
theDescription = CORBA::string_dup(aDump.ToCString());
|
||||
theDescription = CORBA::string_dup("OK");
|
||||
return 1;
|
||||
}
|
||||
theDescription = CORBA::string_dup("checkShape 0");
|
||||
theDescription = CORBA::string_dup(aDump.ToCString());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user