Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/delaunay_2d.cc')
-rw-r--r--source/blender/blenlib/intern/delaunay_2d.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenlib/intern/delaunay_2d.cc b/source/blender/blenlib/intern/delaunay_2d.cc
index 08f18d5cbf3..47e4617d094 100644
--- a/source/blender/blenlib/intern/delaunay_2d.cc
+++ b/source/blender/blenlib/intern/delaunay_2d.cc
@@ -441,11 +441,11 @@ template<typename T> std::ostream &operator<<(std::ostream &os, const CDT_state<
if (se) {
os << " edges out:\n";
do {
- if (se->next == NULL) {
+ if (se->next == nullptr) {
os << " [NULL] next/rot symedge, se=" << trunc_ptr(se) << "\n";
break;
}
- if (se->next->next == NULL) {
+ if (se->next->next == nullptr) {
os << " [NULL] next-next/rot symedge, se=" << trunc_ptr(se) << "\n";
break;
}
@@ -2884,15 +2884,15 @@ extern "C" ::CDT_result *BLI_delaunay_2d_cdt_calc(const ::CDT_input *input,
MEM_malloc_arrayN(nf, sizeof(int), __func__));
}
else {
- output->verts_orig = NULL;
- output->verts_orig_start_table = NULL;
- output->verts_orig_len_table = NULL;
- output->edges_orig = NULL;
- output->edges_orig_start_table = NULL;
- output->edges_orig_len_table = NULL;
- output->faces_orig = NULL;
- output->faces_orig_start_table = NULL;
- output->faces_orig_len_table = NULL;
+ output->verts_orig = nullptr;
+ output->verts_orig_start_table = nullptr;
+ output->verts_orig_len_table = nullptr;
+ output->edges_orig = nullptr;
+ output->edges_orig_start_table = nullptr;
+ output->edges_orig_len_table = nullptr;
+ output->faces_orig = nullptr;
+ output->faces_orig_start_table = nullptr;
+ output->faces_orig_len_table = nullptr;
}
int v_orig_index = 0;