1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0028908: Improvement on attachment of attributes to the label

This commit is contained in:
vro
2017-07-24 08:47:30 +03:00
committed by bugmaster
parent bbf03a4e8e
commit 0f3d1d7c22
5 changed files with 24 additions and 12 deletions

View File

@@ -65,7 +65,7 @@ Handle(TPrsStd_AISPresentation) TPrsStd_AISPresentation::Set
if ( !theLabel.FindAttribute(TPrsStd_AISPresentation::GetID(), aPresentation) )
{
aPresentation = new TPrsStd_AISPresentation();
theLabel.AddAttribute(aPresentation);
theLabel.AddAttribute(aPresentation, Standard_True);
}
return aPresentation;