2009/8/5 Sébastien Ramage <sebastien.ram...@gmail.com> > > Hi Thomas, > > I found a bug in OCCViewer.py when using Viewer2D in BaseDriver at line 88 > > # nessecary for text rendering > self._struc_mgr = self.Context.MainPrsMgr().GetObject().StructureManager() > > AttributeError: 'AIS2D_InteractiveContext' object has no attribute > 'MainPrsMgr' > > I've removed this line and all seem to work, text rendering too. > > Sébastien >
Thanks for the feedback. Jelle, is this line really unuseful (I guess you added it in OCCViewer.py)? Can you please commit your changes to the repository when it's fixed (I don't know this part of code since it does not come from me). Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users