Exemple #1
0
 def __del__(self):
     if self.calllist:
         bgl.glDeleteLists(self.calllist, 1)
         self.calllist = None
Exemple #2
0
 def __del__(self):
     if not self.calllist: return
     bgl.glDeleteLists(self.calllist, 1)
     self.calllist = None
 def __del__(self):
     if self.calllist:
         bgl.glDeleteLists(self.calllist, 1)
         self.calllist = None
 def __del__(self):
     if self.list != 0:
         bgl.glDeleteLists(self.list, 1)
         self.list = 0