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