Cleanup: typos & references to variable names from recent refactor
This commit is contained in:
@@ -151,7 +151,7 @@ class StaleFiles:
|
||||
|
||||
# Ensure the `base_directory` & `path_abs` they are not the same.
|
||||
# One could be forgiven for thinking they must never be the same since `path`
|
||||
# is known not be be an empty string, one would be mistaken!
|
||||
# is known not be an empty string, one would be mistaken!
|
||||
# WIN32 which considers `C:\path\` the same as `C:\path\. ` to be the same.
|
||||
# Therefor, literal lines containing any combination of trailing full-stop
|
||||
# or space characters would be considered files that cannot be removed.
|
||||
|
||||
@@ -3540,7 +3540,8 @@ class WM_MT_region_toggle_pie(Menu):
|
||||
|
||||
for region in context.area.regions:
|
||||
region_type = region.type
|
||||
# If the attribute doesn't exist, the RNA definition is outdated and needs to be see: #134339 and it fix.
|
||||
# If the attribute doesn't exist, the RNA definition is outdated.
|
||||
# See: #134339 and its fix for reference.
|
||||
attr = cls._region_info.get(region_type, None)
|
||||
if attr is None:
|
||||
continue
|
||||
|
||||
@@ -1361,7 +1361,7 @@ BMFace *BM_faces_join(BMesh *bm, BMFace **faces, int totface, const bool do_del,
|
||||
}
|
||||
else {
|
||||
/* Otherwise, delete only the faces that were merged
|
||||
* (do not leave the mesh with both both the old and new faces). */
|
||||
* (do not leave the mesh with both the old and new faces). */
|
||||
for (i = 0; i < totface; i++) {
|
||||
BM_face_kill(bm, faces[i]);
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ static bool object_mode_set_ok_or_report(ReportList *reports)
|
||||
* is quite obscure. See: #137380. */
|
||||
|
||||
if (G.moving & (G_TRANSFORM_OBJ | G_TRANSFORM_EDIT)) {
|
||||
BKE_reportf(reports, RPT_ERROR, "Unable to change object modes while transforming");
|
||||
BKE_reportf(reports, RPT_ERROR, "Unable to change object mode while transforming");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ void MeshesToIMeshInfo::input_medge_for_orig_index(int orig_index,
|
||||
* Convert all of the meshes in `meshes` to an `IMesh` and return that.
|
||||
* All of the coordinates are transformed into the local space of the
|
||||
* first Mesh. To do this transformation, we also need the transformation
|
||||
* obmats corresponding to the Meshes, so they are in the `obmats` argument.
|
||||
* object matrices corresponding to the Meshes, so they are in the `transforms` argument.
|
||||
* The 'original' indexes in the IMesh are the indexes you get by
|
||||
* a scheme that offsets each vertex, edge, and face index by the sum of the
|
||||
* vertices, edges, and polys in the preceding Meshes in the mesh span.
|
||||
|
||||
Reference in New Issue
Block a user