Thanks @DuBearte.
This commit is contained in:
1 parent
dc6eca6830
commit
6f270f6259
12 files changed
+145
-11
No files matched your search
@@ -1677,6 +1677,14 @@ pub(crate) fn dialog_pick(app: &mut SolveApp, hit: &Hit, sel: Sel) {
|
||||
};
|
||||
d.extra.remove("path");
|
||||
}
|
||||
// Split Body's sketch line keeps the sketch it was picked in (curve ids repeat across sketches).
|
||||
if matches!(d.kind, crate::dialogs::Kind::Split) {
|
||||
if let Hit::SketchCurve { sketch, .. } = hit {
|
||||
d.extra.insert("tool_sketch".into(), serde_json::json!(sketch));
|
||||
} else {
|
||||
d.extra.remove("tool_sketch");
|
||||
}
|
||||
}
|
||||
app.dialog = Some(d);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user