From e64e6288bdf50db4b40db90532e3c90cf5a1a292 Mon Sep 17 00:00:00 2001 From: Roman Ludwicki Date: Tue, 14 Nov 2023 22:42:54 +0100 Subject: [PATCH] Fix crash after click help button in Walker animation dialog The setValue() fuction expect 'path' and 'value' or only 'value', so in these cases, the content was treated as a path and caused "Illegal character in leaf of property path" error --- Aircraft/Generic/Human/Nasal/walker-animate.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Aircraft/Generic/Human/Nasal/walker-animate.nas b/Aircraft/Generic/Human/Nasal/walker-animate.nas index 4badb8eed..ff4919e05 100644 --- a/Aircraft/Generic/Human/Nasal/walker-animate.nas +++ b/Aircraft/Generic/Human/Nasal/walker-animate.nas @@ -391,7 +391,7 @@ var sequence = { "The checkbox at the bottom enables the triggering of animations, " ~ "and is automatically turned off when editing a sequence.\n\n" ~ "To close this dialog box, press [Esc] or click on the button in the " ~ - "upper right corner.", "STRING"); + "upper right corner."); w = walker_dialog3.addChild("textbox"); w.set("halign", "fill"); w.set("pref-width", 350); @@ -1945,7 +1945,7 @@ var animate = { "change the trigger setting, save it, exit the dialog, and re-enable " ~ "the Trigger checkbox on the other (sequence) dialog.\n\n" ~ "To test your animation before enabling the trigger, just click in the " ~ - "checkbox at the bottom, to enable this current animation.", "STRING"); + "checkbox at the bottom, to enable this current animation."); w = walker_dialog4.addChild("textbox"); w.set("halign", "fill"); w.set("pref-width", 380);