mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 11:28:30 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user