Page 1 of 2

Shortcuts Bug?

Posted: Thu Jun 27, 2024 6:42 am
by Saper
Hi

Tony right now when i try to use one of my shortcuts in sequencer i something like this:
Policeman/Portrait/EX1
And it don't work, for it to work I need to add "{{" in front and in back of text
{{Policeman/Portrait/EX1}}

is it a bug or there is new workflow with creating shortcuts?

Re: Shortcuts Bug?

Posted: Thu Jun 27, 2024 7:58 am
by Tony Li
Hi,

{{...}} is correct. Example here.

Re: Shortcuts Bug?

Posted: Thu Jun 27, 2024 9:45 am
by Saper
Hi Tony

I misspelled word i choose my shortcut from context menu and in sequencer it is generated without "{{" every time after using context menu I need to fill the missing brackets

Re: Shortcuts Bug?

Posted: Thu Jun 27, 2024 10:39 am
by Tony Li
Hi,

Is this what you mean?

I defined a shortcut using a Sequencer Shortcuts component on the Dialogue Manager:

shortcuts1.png
shortcuts1.png (36.55 KiB) Viewed 461 times

From the Sequence field's "+" dropdown, I selected the shortcut:

shortcuts2.png
shortcuts2.png (27.02 KiB) Viewed 461 times

It added it to the Sequence field with {{ and }}:

shortcuts3.png
shortcuts3.png (2.8 KiB) Viewed 461 times

Re: Shortcuts Bug?

Posted: Tue Jul 02, 2024 5:52 am
by Saper
Yes this what i mean

those were our shortcuts before Dialogue System update

for example as in "shortcuts1.png" we have them configure:
Submenu: Blank
Shortcut: Policeman/Portrait/EX1
Value: AnimatorPlay(Police_EX1)

as in "shortcuts2.png" when i click "+" i see:

Shortcuts -> General -> Policeman -> Portrait -> EX1

as in "shortcuts3.png" when sequnece is generated it looks like:

Policeman/Portrait/EX1

Without "{{" on front nad without on back "}}"

Re: Shortcuts Bug?

Posted: Tue Jul 02, 2024 8:22 am
by Tony Li
What Dialogue System version are you using? Can you back up your project and update to version 2.2.46.1? There are no known issues with shortcuts in any recent Dialogue System versions, but maybe someone customized some code in your copy or something.

Re: Shortcuts Bug?

Posted: Tue Jul 02, 2024 8:53 am
by Saper
Hi Tony

We have ver. 2.2.46.1

also i tested:
When submenu is blank then shortcuts don't have "{{ }}" if i input something in the submenu field it will generate sequence with "{{ }}""

Re: Shortcuts Bug?

Posted: Tue Jul 02, 2024 2:32 pm
by Tony Li

Re: Shortcuts Bug?

Posted: Thu Jul 04, 2024 4:44 am
by Saper
Hi Tony

After patch:
- problem with "{{}}" still exists
- shortcuts stoped being grouped
before patch it was: + -> Shortcuts -> General -> Policeman -> Portrait -> EX1
after patch: + -> Shortcuts -> General -> Policeman/Portrait/EX1

Re: Shortcuts Bug?

Posted: Thu Jul 04, 2024 8:23 am
by Tony Li
Hi,

The way grouping is handled is intentional because the shortcut name is "{{Policeman/Portrait/EX1}}". You could group this into a submenu Policeman/Portrait by setting the Submenu field to "Policeman/Portrait".

I don't know why it's not adding the {{ and }}. Here's how I tested it with DS 2.2.46.1 and the patch above:

Added the shortcut:

shortcut1.png
shortcut1.png (61.04 KiB) Viewed 419 times

Selected it from the menu:

shortcut2.png
shortcut2.png (42.45 KiB) Viewed 419 times

And this is how it looks in the Sequence field:

shortcut3.png
shortcut3.png (25.57 KiB) Viewed 419 times

Can you send a reproduction project to tony (at) pixelcrushers.com?