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
Hurstel
CGoGN
Commits
e51ed5d8
Commit
e51ed5d8
authored
Jun 12, 2012
by
Sylvain Thery
Browse files
small bug in toporender
parent
a0f327b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Algo/Render/GL2/topoRender.hpp
View file @
e51ed5d8
...
...
@@ -70,8 +70,8 @@ void TopoRender::updateDataMap(typename PFP::MAP& mapx, const VertexAttribute<ty
std
::
vector
<
Dart
>
vecDarts
;
vecDarts
.
reserve
(
map
.
getNbDarts
());
// no problem dart is int: no problem of memory
if
(
m_attIndex
.
map
()
!
=
&
map
)
m_attIndex
=
map
.
template
getAttribute
<
unsigned
int
,
DART
>(
"dart_index"
);
m_attIndex
=
map
.
template
getAttribute
<
unsigned
int
,
DART
>(
"dart_index"
);
if
(
!
m_attIndex
.
isValid
())
m_attIndex
=
map
.
template
addAttribute
<
unsigned
int
,
DART
>(
"dart_index"
);
...
...
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