Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
LLipter committed Jan 16, 2024
1 parent 5c1fee3 commit bdd0100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libopenrave/kinbody.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5390,7 +5390,7 @@ bool KinBody::SetVisible(bool visible)
FOREACH(it, _veclinks) {
FOREACH(itgeom,(*it)->_vGeometries) {
if( (*itgeom)->IsVisible() != visible ) {
(*itgeom)->SetVisible(visible);
(*itgeom)->_info._bVisible = visible;
bchanged = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/libopenrave/kinbodylink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ bool KinBody::Link::SetVisible(bool visible)
bool bchanged = false;
FOREACH(itgeom,_vGeometries) {
if( (*itgeom)->_info._bVisible != visible ) {
(*itgeom)->SetVisible(visible);
(*itgeom)->_info._bVisible = visible;
bchanged = true;
}
}
Expand Down

0 comments on commit bdd0100

Please sign in to comment.