Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Hurstel
CGoGN
Commits
1dad1ea8
Commit
1dad1ea8
authored
May 25, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug minor pb in copyFrom(): tested OK
parent
70500ef4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/Container/attributeContainer.cpp
src/Container/attributeContainer.cpp
+1
-1
src/Topology/generic/genericmap.cpp
src/Topology/generic/genericmap.cpp
+5
-1
No files found.
src/Container/attributeContainer.cpp
View file @
1dad1ea8
...
...
@@ -728,7 +728,7 @@ void AttributeContainer::copyFrom(const AttributeContainer& cont)
{
AttributeMultiVectorGen
*
ptr
=
cont
.
m_tableAttribs
[
i
]
->
new_obj
();
ptr
->
setName
(
cont
.
m_tableAttribs
[
i
]
->
getName
());
ptr
->
setOrbit
(
cont
.
m_tableAttribs
[
i
]
->
get
Index
());
ptr
->
setOrbit
(
cont
.
m_tableAttribs
[
i
]
->
get
Orbit
());
ptr
->
setIndex
(
m_tableAttribs
.
size
());
ptr
->
setNbBlocks
(
cont
.
m_tableAttribs
[
i
]
->
getNbBlocks
());
ptr
->
copy
(
cont
.
m_tableAttribs
[
i
]);
...
...
src/Topology/generic/genericmap.cpp
View file @
1dad1ea8
...
...
@@ -288,7 +288,11 @@ void GenericMap::viewAttributesTables()
std
::
vector
<
std
::
string
>
listeNames
;
cont
.
getAttributesNames
(
listeNames
)
;
for
(
std
::
vector
<
std
::
string
>::
iterator
it
=
listeNames
.
begin
();
it
!=
listeNames
.
end
();
++
it
)
std
::
cout
<<
" "
<<
*
it
<<
std
::
endl
;
{
unsigned
int
id
=
cont
.
getAttributeIndex
(
*
it
);
std
::
cout
<<
" "
<<
*
it
<<
" ("
<<
id
<<
")"
<<
std
::
endl
;
}
std
::
cout
<<
"-------------------------"
<<
std
::
endl
;
}
std
::
cout
<<
"m_embeddings: "
<<
std
::
hex
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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