Fix line 2D intersection behavior
This commit is contained in:
@ -279,6 +279,10 @@ void LineBuilder::build() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// No intersection: fallback
|
// No intersection: fallback
|
||||||
|
if (current_joint_mode == Line2D::LINE_JOINT_SHARP) {
|
||||||
|
// There is no fallback implementation for LINE_JOINT_SHARP so switch to the LINE_JOINT_BEVEL
|
||||||
|
current_joint_mode = Line2D::LINE_JOINT_BEVEL;
|
||||||
|
}
|
||||||
pos_up1 = corner_pos_up;
|
pos_up1 = corner_pos_up;
|
||||||
pos_down1 = corner_pos_down;
|
pos_down1 = corner_pos_down;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user