diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-25 13:15:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-25 13:15:27 +0300 |
commit | ce6ba965dc4956910e51e40aff7707b6ac85e23d (patch) | |
tree | fc146e8bc8884b24023ee4874042ced4911f57e8 /source/blender/blenkernel | |
parent | f4a418b03195e617e0d57a77e59f57e191e1cec5 (diff) |
cleanup: warnings, spelling
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/data_transfer.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/mesh_remap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/data_transfer.c b/source/blender/blenkernel/intern/data_transfer.c index 8c42aa7c940..3704174be6e 100644 --- a/source/blender/blenkernel/intern/data_transfer.c +++ b/source/blender/blenkernel/intern/data_transfer.c @@ -973,7 +973,7 @@ bool BKE_object_data_transfer_dm( MeshPairRemap geom_map[DATAMAX] = {{0}}; bool geom_map_init[DATAMAX] = {0}; - ListBase lay_map = {0}; + ListBase lay_map = {NULL}; bool changed = false; const bool use_delete = false; /* We never delete data layers from destination here. */ diff --git a/source/blender/blenkernel/intern/mesh_remap.c b/source/blender/blenkernel/intern/mesh_remap.c index 2dde0d919ec..7e94e17d1ff 100644 --- a/source/blender/blenkernel/intern/mesh_remap.c +++ b/source/blender/blenkernel/intern/mesh_remap.c @@ -1427,7 +1427,7 @@ void BKE_mesh_remap_calc_loops_from_dm( best_island = use_islands ? island_store.islands[best_island_index] : NULL; as_graph = &as_graphdata[best_island_index]; poly_island_index_map = (int *)as_graph->custom_data; - BLI_astar_solution_init(as_graph, &as_solution, false); + BLI_astar_solution_init(as_graph, &as_solution, NULL); } for (plidx_dst = 0; plidx_dst < mp_dst->totloop; plidx_dst++) { |