For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Debug of Open CacCade

Philippe Carret's picture
Forums: 

Dear Cascade Team,

1) Thank you so much for providing debug lib and dlls. Now debug in Cas.Cade source code is possible

2) WHat is the best way to declare bugs, the Bug declaration form. But other Cas.Cade users won't get the info

3)One bug in AIS_LocalContext::UnhilightPicked

When calling AIS_InteractiveContext::CloseLocalContext here's the hiercachy to the identified supposed bug.

->AIS_InteractiveContext::CloseLocalContext while(!myLocalContexts.IsEmpty()){

CloseLocalContext(myCurLocalIndex,Standard_False);

->AIS_InteractiveContext::CloseLocalContext

myLocalContexts(myCurLocalIndex)->Terminate();

->AIS_LocalContext::Terminate()

Clear();

->AIS_LocalContext::Clear()

ClearObjects();

ClearSelected();

->AIS_LocalContext::ClearSelected()

UnhilightPicked(updateviewer);

->AIS_LocalContext::UnhilightPicked(const Standard_Boolean updateviewer)

this call

const TColStd_Array1OfTransient& Obj = Sel->Objects()->Array1();

this call will fail and raise when no object is selected.

SOLUTION:

after

Handle(AIS_Selection) Sel = AIS_Selection::Selection(mySelName.ToCString());

a simple

if (Sel->IsNull())

return;

Thanx.

Ph C

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.