Joints: joint.reach (inverse kinematics), and a jointed part follows a drag (#1540)

Thanks @SychPL.
This commit is contained in:
Mateusz Sych authored and GitHub committed 2026-10-15 23:58:34 -04:00
1 parent baf44657c1
commit 4d862cd76c
21 files changed
+1209 -48

No files matched your search

+4 -1
View File
@@ -62,6 +62,7 @@ pub mod icons;
pub mod inference;
pub mod install;
pub mod issue_report;
pub mod joint_drag;
pub mod keymap;
mod material_card_review;
#[cfg(test)]
@@ -632,7 +633,9 @@ impl SolveApp {
// reads the same way the toolbar button it came from does.
let language = i18n::Locale::for_language(&self.preferences.language);
let label = language.label(command_label(id));
if !(id == "view.navigate" && v.get("continuous").and_then(Value::as_bool) == Some(true)) {
// Frames of a gesture (a continuous view move, a part dragged by its joints) are
// not echoed one by one.
if v.get("continuous").and_then(Value::as_bool) != Some(true) {
self.session.echo(language.format("ui.command_done", &[("command", label)]));
}
if id == "file.new" {