Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  Graph nodes doesn't need to be updated if there aren't any
  • Loading branch information
GustavoLCR committed Apr 15, 2019
1 parent 8a083a0 commit 8075535
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libr/core/graph.c
Expand Up @@ -3801,6 +3801,9 @@ R_API void r_agraph_reset(RAGraph *g) {
}
g->nodes = sdb_new0 ();
g->update_seek_on = NULL;
g->need_reload_nodes = false;
g->need_set_layout = true;
g->need_update_dim = true;
g->x = g->y = g->w = g->h = 0;
agraph_sdb_init (g);
g->curnode = NULL;
Expand Down

0 comments on commit 8075535

Please sign in to comment.