Skip to content

Commit

Permalink
Fix #7 Compilation issue Tegra
Browse files Browse the repository at this point in the history
  • Loading branch information
adujardin committed Oct 2, 2017
1 parent d8fd279 commit 546aef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyzed/mesh.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cdef extern from "sl/Mesh.hpp" namespace "sl":
MESH_TEXTURE_LAST


cdef enum FILTER 'sl::MeshFilterParameters::FILTER':
ctypedef enum FILTER 'sl::MeshFilterParameters::FILTER':
FILTER_LOW 'sl::MeshFilterParameters::FILTER::FILTER_LOW'
FILTER_MEDIUM 'sl::MeshFilterParameters::FILTER::FILTER_MEDIUM'
FILTER_HIGH 'sl::MeshFilterParameters::FILTER::FILTER_HIGH'
Expand Down
4 changes: 2 additions & 2 deletions pyzed/mesh.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ cdef class PyMeshFilterParameters:
cdef MeshFilterParameters* meshFilter
cdef FILTER filter
def __cinit__(self):
self.filter = FILTER_LOW
self.meshFilter = new MeshFilterParameters(FILTER_LOW)
self.filter = PyFILTER.PyFILTER_LOW
self.meshFilter = new MeshFilterParameters(PyFILTER.PyFILTER_LOW)

def set(self, filter=PyFILTER.PyFILTER_LOW):
if isinstance(filter, PyFILTER):
Expand Down

0 comments on commit 546aef6

Please sign in to comment.