MCPcopy Create free account
hub / github.com/BerkeleyAutomation/meshrender / _update_flags

Method _update_flags

meshrender/viewer.py:322–328  ·  view source on GitHub ↗

Update OpenGL state based on the current flags.

(self)

Source from the content-addressed store, hash-verified

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):

Callers 2

__init__Method · 0.95
on_key_pressMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected