Update OpenGL state based on the current flags.
(self)
| 320 | |
| 321 | |
| 322 | def _update_flags(self): |
| 323 | """Update OpenGL state based on the current flags. |
| 324 | """ |
| 325 | glLineWidth(float(self._line_width)) |
| 326 | clock.unschedule(SceneViewer.time_event) |
| 327 | if self._flags['animate'] or self._flags['record']: |
| 328 | clock.schedule_interval(SceneViewer.time_event, 1.0/self._animate_rate, self) |
| 329 | |
| 330 | |
| 331 | def _reset_view(self): |
no outgoing calls
no test coverage detected