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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user