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
Philip Trettner
polymesh
Commits
6b43eb85
Commit
6b43eb85
authored
Jul 26, 2018
by
Christian Mattes
Browse files
Added bool as default-added savable attribute type
parent
ed5b7f68
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/formats/pm.cc
View file @
6b43eb85
...
...
@@ -200,6 +200,7 @@ bool read_pm(const std::string &filename, Mesh &mesh, attribute_collection &attr
#define REGISTER_TYPE(type) register_type<type>(#type)
static
bool
registered_default_types
=
[]()
{
REGISTER_TYPE
(
bool
);
REGISTER_TYPE
(
float
);
REGISTER_TYPE
(
double
);
REGISTER_TYPE
(
int8_t
);
...
...
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