/usr/share/pyshared/glitch/selectable.py is in python-glitch 0.6-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | import OpenGL.GL as gl
from glitch.node import Node
class Selectable(Node):
def render(self, ctx):
if 'selection' in ctx:
gl.glPushName(id(self))
Node.render(self, ctx)
gl.glPopName()
else:
Node.render(self, ctx)
|