Cleanup: remove newlines from logging text

Line endings are already added.
This commit is contained in:
Campbell Barton 2021-09-09 16:26:15 +10:00
parent bda9e4238a
commit 3da09f4e29
4 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ void ABCAbstractWriter::update_bounding_box(Object *object)
if (!bb) {
if (object->type != OB_CAMERA) {
CLOG_WARN(&LOG, "Bounding box is null!\n");
CLOG_WARN(&LOG, "Bounding box is null!");
}
bounding_box_.min.x = bounding_box_.min.y = bounding_box_.min.z = 0;
bounding_box_.max.x = bounding_box_.max.y = bounding_box_.max.z = 0;

View File

@ -788,7 +788,7 @@ bool RNA_struct_override_matches(Main *bmain,
continue;
}
CLOG_INFO(&LOG, 5, "Override Checking %s\n", rna_path);
CLOG_INFO(&LOG, 5, "Override Checking %s", rna_path);
IDOverrideLibraryProperty *op = BKE_lib_override_library_property_find(override, rna_path);
if (ignore_overridden && op != NULL) {

View File

@ -753,7 +753,7 @@ int BPY_context_member_get(bContext *C, const char *member, bContextDataResult *
CLOG_INFO(BPY_LOG_CONTEXT, 1, "'%s' not a valid type", member);
}
else {
CLOG_INFO(BPY_LOG_CONTEXT, 1, "'%s' not found\n", member);
CLOG_INFO(BPY_LOG_CONTEXT, 1, "'%s' not found", member);
}
}
else {

View File

@ -705,7 +705,7 @@ bool wm_xr_session_surface_offscreen_ensure(wmXrSurfaceData *surface_data,
}
if (failure) {
CLOG_ERROR(&LOG, "Failed to get buffer, %s\n", err_out);
CLOG_ERROR(&LOG, "Failed to get buffer, %s", err_out);
return false;
}