Jelle Feringa a écrit : > Sorry for the high volume email Thomas ;') > > I noticed the following: > > myAspect = occ.Prs3d_Drawer() > swig/python detected a memory leak of type 'Handle_Prs3d_ShadingAspect > *', no destructor found. > > myAspect.AngleAspect() > <Swig Object of type 'Handle_Prs3d_AngleAspect *' at 0x82d73f8> > > myAspect.ShadingAspect() > swig/python detected a memory leak of type 'Handle_Prs3d_AngleAspect > *', no destructor found. > <Swig Object of type 'Handle_Prs3d_ShadingAspect *' at 0x82d7368> > > Is that relevant for you to know this sort of error, or is it noise? > > Cheers, > > -jelle Jelle,
This error occurs when the object returned by the method is not wrapped by SWIG (ie python doesn't know how to handle it). It will be fixed when whole Prs3d classes are added to pythonOCC. Thomas _______________________________________________ Minerva-pythonocc mailing list Minerva-pythonocc@gna.org https://mail.gna.org/listinfo/minerva-pythonocc