Skip to content

Commit

Permalink
draw_walk_tree is used only by draw_gather_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Dec 2, 2024
1 parent 6a8da4a commit 37ac02f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/libged/draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,7 @@ tree_color(struct directory *dp, struct draw_data_t *dd)
step. That mode is also supported by this subtree walk.
******************************************************************************/

extern "C" void
static void
draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat,
void (*traverse_func) (struct db_full_path *path, mat_t *, void *),
void *client_data, void *comb_inst_map)
Expand Down Expand Up @@ -956,7 +955,6 @@ draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat,
}
}


/**
* This walker builds a list of db_full_path entries corresponding to
* the contents of the tree under *path. It does so while assigning
Expand Down
4 changes: 1 addition & 3 deletions src/libged/ged_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ struct draw_data_t {
std::map<struct directory *, fastf_t> *s_size;
#endif
};
GED_EXPORT void draw_walk_tree(struct db_full_path *path, union tree *tp, mat_t *curr_mat,
void (*traverse_func) (struct db_full_path *path, mat_t *, void *),
void *client_data, void *comb_inst_map);

GED_EXPORT void draw_gather_paths(struct db_full_path *path, mat_t *curr_mat, void *client_data);

GED_EXPORT void vls_col_item(struct bu_vls *str, const char *cp);
Expand Down

0 comments on commit 37ac02f

Please sign in to comment.