Fix regressions from network interface PR (#1906)

* Fix regressions

* Remove unnecessary graph render in box selection

* Improve stack positioning

* Store layer stacks as absolute position

* Improve automatically creating chains

* Improve group selection

* Increase horizontal layer spacing by 1

* Fix export crash and demo artwork

* Improve inserting node onto wire, fix spline crash

* Remove comment
This commit is contained in:
adamgerhant
2024-08-07 01:03:12 -07:00
committed by GitHub
parent e46af89708
commit 8041b1237c
14 changed files with 436 additions and 190 deletions

View File

@@ -368,6 +368,9 @@ impl<PointId: crate::Identifier> Subpath<PointId> {
pub fn solve_spline_first_handle(points: &[DVec2]) -> Vec<DVec2> {
let len_points = points.len();
if len_points == 0 {
return Vec::new();
}
// Matrix coefficients a, b and c (see https://mathworld.wolfram.com/CubicSpline.html).
// Because the 'a' coefficients are all 1, they need not be stored.