mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-31 18:36:24 -05:00
fixed variable collision
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3521bfb6de
commit
0aa921b010
@ -285,10 +285,10 @@ void NetworkViewer::timerEvent(QTimerEvent *event)
|
|||||||
|
|
||||||
memset(forceMap,0,2*S*S*sizeof(double)) ;
|
memset(forceMap,0,2*S*S*sizeof(double)) ;
|
||||||
|
|
||||||
for(uint32_t i=0;i<_network.n_nodes();++i)
|
for(uint32_t k=0;k<_network.n_nodes();++k)
|
||||||
{
|
{
|
||||||
float x = S*_node_coords[i].x/width() ;
|
float x = S*_node_coords[k].x/width() ;
|
||||||
float y = S*_node_coords[i].y/height() ;
|
float y = S*_node_coords[k].y/height() ;
|
||||||
|
|
||||||
int i=(int)floor(x) ;
|
int i=(int)floor(x) ;
|
||||||
int j=(int)floor(y) ;
|
int j=(int)floor(y) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user