Skip to content

Commit 546aef6

Browse files
committed
Fix #7 Compilation issue Tegra
1 parent d8fd279 commit 546aef6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyzed/mesh.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cdef extern from "sl/Mesh.hpp" namespace "sl":
4545
MESH_TEXTURE_LAST
4646

4747

48-
cdef enum FILTER 'sl::MeshFilterParameters::FILTER':
48+
ctypedef enum FILTER 'sl::MeshFilterParameters::FILTER':
4949
FILTER_LOW 'sl::MeshFilterParameters::FILTER::FILTER_LOW'
5050
FILTER_MEDIUM 'sl::MeshFilterParameters::FILTER::FILTER_MEDIUM'
5151
FILTER_HIGH 'sl::MeshFilterParameters::FILTER::FILTER_HIGH'

pyzed/mesh.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ cdef class PyMeshFilterParameters:
5151
cdef MeshFilterParameters* meshFilter
5252
cdef FILTER filter
5353
def __cinit__(self):
54-
self.filter = FILTER_LOW
55-
self.meshFilter = new MeshFilterParameters(FILTER_LOW)
54+
self.filter = PyFILTER.PyFILTER_LOW
55+
self.meshFilter = new MeshFilterParameters(PyFILTER.PyFILTER_LOW)
5656

5757
def set(self, filter=PyFILTER.PyFILTER_LOW):
5858
if isinstance(filter, PyFILTER):

0 commit comments

Comments
 (0)