mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
0023216: correct treatment of blank assembly names
This commit is contained in:
parent
9361e2c00a
commit
80b714c3bb
@ -357,9 +357,9 @@ namespace
|
||||
continue;
|
||||
}
|
||||
|
||||
if (aPDR->HasDescription() && aPDR->Description()->Length() >0) {
|
||||
if (aPDR->HasDescription() && aPDR->Description()->UsefullLength() >0) {
|
||||
aName = aPDR->Description();
|
||||
} else if (!aPDR->Name().IsNull() && aPDR->Name()->Length() >0 ) {
|
||||
} else if (!aPDR->Name().IsNull() && aPDR->Name()->UsefullLength() >0 ) {
|
||||
aName = aPDR->Name();
|
||||
} else if (!aPDR->Id().IsNull()) {
|
||||
aName = aPDR->Id();
|
||||
|
Loading…
Reference in New Issue
Block a user