Cleanup: spelling (make check_spelling_*)

This commit is contained in:
Campbell Barton
2024-12-14 23:17:49 +11:00
parent c1951f6508
commit 94d39aac0c
5 changed files with 10 additions and 9 deletions

View File

@@ -709,7 +709,7 @@ bNode *node_find_node_try(bNodeTree &ntree, bNodeSocket &socket);
/**
* Find the node that contains the given socket. This uses the node topology cache, meaning
* subsequent access after changing the node tree will be more expensive, but ammortized over time,
* subsequent access after changing the node tree will be more expensive, but amortized over time,
* the cost is constant.
*/
bNode &node_find_node(bNodeTree &ntree, bNodeSocket &socket);

View File

@@ -208,7 +208,7 @@ void BKE_vfont_data_ensure(VFont *vfont)
if (vfont->packedfile) {
pf = vfont->packedfile;
/* We need to copy a tmp font to memory unless it is already there */
/* We need to copy a temporary font to memory unless it is already there. */
if (vfont->temp_pf == nullptr) {
vfont->temp_pf = BKE_packedfile_duplicate(pf);
}

View File

@@ -347,7 +347,7 @@ void StateSet::set(DRWState state)
GPU_uniformbuf_debug_unbind_all();
GPU_storagebuf_debug_unbind_all();
/* Remained of legacy draw manager. Kept it to avoid regression, but might become uneeded. */
/* Remained of legacy draw manager. Kept it to avoid regression, but might become unneeded. */
GPU_point_size(5);
GPU_line_smooth(false);
GPU_line_width(0.0f);

View File

@@ -243,11 +243,12 @@ struct USDMaterialImportContext {
}
/**
* If the given texture asset path is a URI or is relative to a USDZ arhive, attempt to copy the
* texture to the local file system and returns a tuple[str, bool], containing the asset's local
* path and a boolean indicating whether the path references a temporary file (in the case where
* imported textures should be packed). The original asset path will be returned unchanged if
* it's alreay a local file or if it could not be copied to a local destination.
* If the given texture asset path is a URI or is relative to a USDZ archive,
* attempt to copy the texture to the local file system and returns a `tuple[str, bool]`,
* containing the asset's local path and a boolean indicating whether the path references
* a temporary file (in the case where imported textures should be packed).
* The original asset path will be returned unchanged if it's already a local file
* or if it could not be copied to a local destination.
*/
PYTHON_NS::tuple import_texture(const std::string &asset_path) const
{

View File

@@ -538,7 +538,7 @@ void USDStageReader::import_all_materials(Main *bmain)
continue;
}
/* Can the material be handled by an iport hook? */
/* Can the material be handled by an import hook? */
const bool have_import_hook = settings_.mat_import_hook_sources.contains(mtl_path);
/* Add the Blender material. If we have an import hook which can handle this material