From b6196c1d465004a5eccc8f1194d2ddc7fdbc5a96 Mon Sep 17 00:00:00 2001 From: Roz K Date: Tue, 21 Oct 2025 13:18:23 +0200 Subject: [PATCH] pve, pygl --- pve/mesh.py | 2 +- pve/shape.py | 2 +- pygl/texture.py | 2 +- pygl/vertexbuffer.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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'