ZBrushCentral

Odd behavior of custom hotkeys

Made some minor modifications to my ZBrush hotkeys. Win 10, ZBrush 2019. Assigned hotkeys for four of the brushes, using 2, 3, 4, and 5. Used CTRL-ALT to assign the shortcuts, then stored changes.

The hotkey assignments sort of work, but I usually have to press the hotkey twice. It seems the first press changes the stroke and alpha, and the second press actually switches to the desired brush.

Here’s a video that shows what’s occurring. Each time there’s a change, I’ve pressed a different number: 2, 2, 3, 3, 4, 4, 5, 5, 4,4,3,3,2,2

[video=youtube_share;ITD14eJ6EoU]https://youtu.be/ITD14eJ6EoU?t=5[/video]

Here is the current StartupHotkeys.TXT file. Did some rearranging of the rows in text editor, as part of my trouble-shooting, but didn’t seem to change anything.

//ZBrush Hotkeys
[BRUSH:MORE ITEMS,98] // B
[BRUSH:CLAYBUILDUP,50] // 2
[BRUSH:MOVE,51] // 3
[BRUSH:DAMSTANDARD,52] // 4
[BRUSH:STANDARD,53] // 5
[BRUSH:SMOOTH STRONGER,5447795] // Popup+S
[BRUSH:MOVE ELASTIC,5054565] // Popup+E
[BRUSH:MPOLISH,7151728] // Popup+P
[BRUSH:CLIPCURVE,4399203] // Popup+C
[BRUSH:CLAYLINE,4399212] // Popup+L
[DOCUMENT:IN,247] // MOUSEWHEEL UP
[DOCUMENT:OUT,248] // MOUSEWHEEL DOWN
[ZPLUGIN:MISC UTILITIES :<<BRUSH,219] // [
[ZPLUGIN:MISC UTILITIES :BRUSH>>,221] // ]

Thank you.

I’m having this as well, and I know of no workaround. I have to press my custom popup brush palette button twice to get it to activate, bound to my stylus button, probably a bug.

Received this response from support. Posting it now, will report back once I’ve had a chance to apply the recommendations.

Thanks for your report, and our official statement on issues like this is, if you have modified previously existing hotkey scripts, custom UI files, etc from older ZBrush to 2019, we cannot guarantee these will always trasfer over flawlessly.

However, I can verify that by using your hotkeys zscript from ZBC, and place in a startupHotkeys.txt file in:
C:\Users\Public\Documents\ZBrushData2019\ZStartup\Hotkeys
^
I cannot replicate the behavior of needs to click the associated keys more than once to select the brush or run these operations. All seem to be operating without issue in my testing.

Suggestion:
Normally in these cases we recommend you try building these hotkeys from scratch to compare. To test:

  1. close ZBrush
  2. go to C:\Users\Public\Documents\
  3. Cut + paste “ZBrushData2019” folder to desktop
  4. Launch ZBrush > assign all of your hotkeys again from scratch in 2019
  5. Go to Preferences > Hotkeys > Click Store
  6. Close and re-open ZBrush > test with this new configuration and let me know if you have issues still.

*IF not, I recommend you backup all necessary QuickSaves, and any potential custom UI elements from “ZBrushData2019” folder on your desktop, and then delete it. (There will be a new ZBrushData2019 folder in its source location after relaunching ZBrush in step 4)

I’m having the same issue, however I think I may have pinpointed the problem. I’m now using version 2021.1 after upgrading from 2020 and 2019. I had the same issues on at least 2020 and maybe 2019 too. I’ve discovered the problem exists specifically when I switch from Move, Scale or Rotate mode into a custom hotkey for a brush in draw mode.

So let’s say I’m moving some geometry around and then I hit “c” for my clay tubes hotkey…instead of switching to draw mode/my clay tubes brush, it switches to draw mode but uses a transpose brush until I hit “c” once more. If I’m already in draw mode, pressing “c” once works fine to switch me to that brush from another. Also, if I’m transposing my geometry around and then I hit my hotkey to go back into draw mode, it will automatically give me the last brush I used.

I am weary of trying the steps outlined from System as you seem to be asking me to delete more than just my hotkey folder! I know I’m just moving the folder, but I don’t want to risk screwing up my custom interface too much here. I’ll do it if you can confirm it fixes the problem I have outlined. Thanks!