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:
authorCampbell Barton <campbell@blender.org>2022-04-05 00:39:40 +0300
committerCampbell Barton <campbell@blender.org>2022-04-05 00:39:40 +0300
commit22184f3aeef6181dd755579753ea6c92b2117578 (patch)
tree648b9923e474c048d919b21e4447aef7edc8e495 /source/blender/io
parent5eab5713c0236ebf3626dd747ab2a9b96c8ebd78 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/wavefront_obj/importer/obj_import_file_reader.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/wavefront_obj/importer/obj_import_file_reader.cc b/source/blender/io/wavefront_obj/importer/obj_import_file_reader.cc
index c528d220d04..d6020895fbf 100644
--- a/source/blender/io/wavefront_obj/importer/obj_import_file_reader.cc
+++ b/source/blender/io/wavefront_obj/importer/obj_import_file_reader.cc
@@ -470,7 +470,7 @@ static StringRef skip_unsupported_options(StringRef line)
return line;
}
- /* Remove upto start of the last option + size of the last option + space after it. */
+ /* Remove up to start of the last option + size of the last option + space after it. */
line = line.drop_prefix(last_option_pos + last_option.size() + 1);
for (int i = 0; i < map_options.number_of_args(last_option); i++) {
const int64_t pos_space{line.find_first_of(' ')};
@@ -589,7 +589,7 @@ void MTLParser::parse_and_store(Map<string, std::unique_ptr<MTLMaterial>> &r_mtl
/* Parse image textures. */
else if (line_key.find("map_") != StringRef::not_found) {
- /* TODO howardt: fix this */
+ /* TODO(@howardt): fix this. */
eMTLSyntaxElement line_key_enum = mtl_line_key_str_to_enum(line_key);
if (line_key_enum == eMTLSyntaxElement::string ||
!current_mtlmaterial->texture_maps.contains_as(line_key_enum)) {
@@ -601,7 +601,7 @@ void MTLParser::parse_and_store(Map<string, std::unique_ptr<MTLMaterial>> &r_mtl
Vector<StringRef> str_map_xx_split;
split_by_char(rest_line, ' ', str_map_xx_split);
- /* TODO ankitm: use `skip_unsupported_options` for parsing these options too? */
+ /* TODO(@ankitm): use `skip_unsupported_options` for parsing these options too? */
const int64_t pos_o{str_map_xx_split.first_index_of_try("-o")};
if (pos_o != -1 && pos_o + 3 < str_map_xx_split.size()) {
copy_string_to_float({str_map_xx_split[pos_o + 1],