You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
min_bead_width_ was initialized before min_even_wall_line_width_ and min_odd_wall_line_width_, causing undefined behavior due to C++ initializing members in declaration order. Reordered both the declaration and initialization to ensure the dependencies are initialized first.
Copy file name to clipboardExpand all lines: include/WallToolPaths.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,12 +127,12 @@ class WallToolPaths
127
127
coord_t wall_0_inset_; //<! How far to inset the outer wall. Should only be applied when printing the actual walls, not extra infill/skin/support walls.
128
128
bool print_thin_walls_; //<! Whether to enable the widening beading meta-strategy for thin features
129
129
coord_t min_feature_size_; //<! The minimum size of the features that can be widened by the widening beading meta-strategy. Features thinner than that will not be printed
130
-
coord_t min_bead_width_; //<! The minimum bead size to use when widening thin model features with the widening beading meta-strategy
131
130
const AngleRadians wall_transition_angle_;
132
131
constcoord_t wall_transition_length_;
133
132
constdouble min_even_wall_line_width_;
134
133
constdouble wall_line_width_0_;
135
134
constdouble min_odd_wall_line_width_;
135
+
coord_t min_bead_width_; //<! The minimum bead size to use when widening thin model features with the widening beading meta-strategy
0 commit comments