'create opengl objects when opengl is initialized'

def create_objects(self):

    for obj in self.parent.objects:
        if (obj.model and obj.model.loaded and (not obj.model.initialized)):
            obj.model.init()
