diff --git a/pve/mesh.py b/pve/mesh.py index fa90eba..3496bb8 100644 --- a/pve/mesh.py +++ b/pve/mesh.py @@ -16,7 +16,7 @@ #TODO: split channels -from shape import Vertex, Shape +from .shape import Vertex, Shape from array import array diff --git a/pve/shape.py b/pve/shape.py index 2a23895..fddf41e 100644 --- a/pve/shape.py +++ b/pve/shape.py @@ -35,7 +35,7 @@ class Vertex: self.view = view def __del__(self): - del self._view + del self.view @property def xy(self): diff --git a/pygl/texture.py b/pygl/texture.py index 6355667..83da066 100644 --- a/pygl/texture.py +++ b/pygl/texture.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License along with People's Video Editor. # If not, see . -import libgl +from . import libgl class Texture: __slots__ = '_geometry', '_format', '_texture' diff --git a/pygl/vertexbuffer.py b/pygl/vertexbuffer.py index c64e302..64dcf41 100644 --- a/pygl/vertexbuffer.py +++ b/pygl/vertexbuffer.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License along with People's Video Editor. # If not, see . -import libgl +from . import libgl class VertexBuffer: __slots__ = '_buffer', '_size'