Hi !
Almost impossible to know, only the OpenCascade folks would know that and they don't answer questions ;o)
Commenter-1
Archived discussion
Hi:
In OCAF, I did
Handle(TPrsStd_AISPresentation) prs;
if (!L.FindAttribute(TPrsStd_AISPresentation::GetID(),prs))
prs = TPrsStd_AISPresentation::Set(L,TNaming_NamedShape::GetID());
prs->SetColor(Quantity_NameOfColor(TSO.Color()));
//Transparency
prs->SetTransparency(TSO.Transparency());
prs->SetMaterial(nameofmaterial);
That is OK for redo & undo functions. But, if I add "prs->SetWidth(..)". The undo is OK. But, it will cause redo function crashing. Is it a bug? thanks a lot.
Best regards,
Shawn
Discussion
Posts are displayed in their archived order.
Hi !
Almost impossible to know, only the OpenCascade folks would know that and they don't answer questions ;o)
Commenter-1