52542: TC7.5.0: Hypothesis "Distribution of layers" is missed

This commit is contained in:
eap 2014-10-22 16:37:33 +04:00
parent ee4749bf4c
commit add89bac19
2 changed files with 5 additions and 4 deletions

View File

@ -404,8 +404,8 @@ bool SMESHGUI_MeshOp::isSubshapeOk() const
//================================================================================
/*!
* \brief Return name of the algorithm that does not support submeshes and makes
* submesh creation useless
* \brief Return name of the algorithm that does not support sub-meshes and makes
* sub-mesh creation useless
* \retval char* - string is to be deleted!!!
*/
//================================================================================

View File

@ -161,8 +161,9 @@ bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&,
for ( int i = 0; i < NB_ATTRIBUTES; ++i ) {
QString aStr = atts.value( name[i] );
if ( !aStr.isEmpty() ) {
aStr = aStr.trimmed();
attr[ i ] = aStr.split( ',', QString::SkipEmptyParts );
attr[i] = aStr.split( ',', QString::SkipEmptyParts );
for ( int j = 0; j < attr[i].count(); ++j )
attr[i][j] = attr[i][j].trimmed();
}
}