def enableStaticStates(self): GLEvaluator.enableStaticStates(self) gl.glMap2f(self.target, self.u.min, self.u.max, self.v.min, self.v.max, self.controlPoints) gl.glEnable(self.target) gl.glMapGrid2f(self.u.steps, self.u.min, self.u.max, self.v.steps, self.v.min, self.v.max) if self.generateNormals: gl.glEnable(gl.GL_AUTO_NORMAL)