Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misc. typos #4857

Merged
merged 2 commits into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Follow-up typo fixes
  • Loading branch information
luzpaz committed Dec 30, 2019
commit dba72acd9abf6858672105b8cfa60bf4859a9d90
2 changes: 1 addition & 1 deletion xs/src/BSpline/BSpline.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ template <class T> struct BSplineBaseP;
* own instantiation.
*
* The algorithm is based on the cubic spline described by Katsuyuki Ooyama
* in Montly Weather Review, Vol 115, October 1987. This implementation
* in Monthly Weather Review, Vol 115, October 1987. This implementation
* has benefited from comparisons with a previous FORTRAN implementation by
* James L. Franklin, NOAA/Hurricane Research Division. In particular, the
* algorithm in the Setup() method is based mostly on his implementation
Expand Down
2 changes: 1 addition & 1 deletion xs/src/libslic3r/PrintConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ template<> inline t_config_enum_values ConfigOptionEnum<SeamPosition>::get_enum_
return keys_map;
}

// Defines each and every confiuration option of Slic3r, including the properties of the GUI dialogs.
// Defines each and every configuration option of Slic3r, including the properties of the GUI dialogs.
// Does not store the actual values, but defines default values.
class PrintConfigDef : public ConfigDef
{
Expand Down
4 changes: 2 additions & 2 deletions xs/src/libslic3r/PrintObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ std::vector<coordf_t> PrintObject::generate_object_layers(coordf_t first_layer_h
// we need to thicken last layer
coordf_t new_h = result[last_layer] - result[last_layer-1];
if(this->config.adaptive_slicing.value) { // use min/max layer_height values from adaptive algo.
new_h = std::min(max_layer_height, new_h - diff); // add (negativ) diff value
new_h = std::min(max_layer_height, new_h - diff); // add (negative) diff value
}else{
new_h = std::min(min_nozzle_diameter, new_h - diff); // add (negativ) diff value
new_h = std::min(min_nozzle_diameter, new_h - diff); // add (negative) diff value
}
result[last_layer] = result[last_layer-1] + new_h;
} else {
Expand Down
2 changes: 1 addition & 1 deletion xs/src/tiny_obj_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ struct vertex_index_t {
// index + smoothing group.
struct face_t {
unsigned int
smoothing_group_id; // smoothing group id. 0 = smoothing groupd is off.
smoothing_group_id; // smoothing group id. 0 = smoothing group id is off.
int pad_;
std::vector<vertex_index_t> vertex_indices; // face vertex indices.

Expand Down