Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
openmesh-python
Commits
d9424073
Commit
d9424073
authored
Jan 22, 2018
by
Alexander Dielen
Browse files
use class instead of enum as default argument.
parent
17bfe3da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/InputOutput.cc
View file @
d9424073
...
...
@@ -80,9 +80,9 @@ void expose_io(py::module& m) {
m
.
def
(
"write_mesh"
,
write_mesh_poly
,
py
::
arg
(
"mesh"
),
py
::
arg
(
"filename"
),
py
::
arg
(
"opt"
)
=
OM
::
IO
::
Options
::
Default
,
py
::
arg
(
"precision"
)
=
6
);
py
::
arg
(
"opt"
)
=
OM
::
IO
::
Options
()
,
py
::
arg
(
"precision"
)
=
6
);
m
.
def
(
"write_mesh"
,
write_mesh_tri
,
py
::
arg
(
"mesh"
),
py
::
arg
(
"filename"
),
py
::
arg
(
"opt"
)
=
OM
::
IO
::
Options
::
Default
,
py
::
arg
(
"precision"
)
=
6
);
py
::
arg
(
"opt"
)
=
OM
::
IO
::
Options
()
,
py
::
arg
(
"precision"
)
=
6
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment