Closed jordiart3d closed 2 years ago
Hi!
So, you are not supposed to add another keymap, just use the existing one, the one displayed in the addon preferences. The operator will open the pie menu when the same keymap is pressed. So there is no need to use two different keymaps for the tool.
Anyway... When I try to bind any action to Ctrl+F1 in the keymap preferences, the input just does not work. I think that it is just a combination that you cannot use in Blender. Did you try with another combination of keys?
Here a small video showing that Ctrl+F1 is just not picked by blender (That seem to be the case for any keymap), same for Ctrl+F3, for some reason. But if I try with Shift+F1 for example, blender picks the hotkey properly, and the pie menu works without issue.
(The mouse cursor seem to be displayed with an offset in the video, ignore the cursor position, I just click on the keymap to set it)
press the same key as the operator ( hard to find on the documentation )
Hard to find, really? It is written twice in the readme page, and also clearly listed in the addon preferences.
How else do you think it should be presented?
The same shorcut doesn´t trigger the pie menu, it only trigger the operator for me, this is the confusing part i think. No matter what shortcut i put there, it only triggers the operator. I tryied to hardcode the pie menu because i can´t access to edge/face type of snapping without the pie menu, is there a way to change it inside the modal operator? This isnt working in 3.4 alpha, i´ve not tried on earlier blender version
Alright, I will give it a try with 3.4a and see if there is an issue there. What key combination did you use, so I can try with the same?
CTRL + SHIFT + A works triggering the operator
Sometimes i´ve issues with other pie menus, it can be the monitor DPI stuff, can you share your settings for them? this are mines :
you´re supposed to do the gesture for the pie menu just after the operator is active right?
I have the exact same PIE settings as you in Blender. So that should not be the problem.
you´re supposed to do the gesture for the pie menu just after the operator is active right?
Yes.
So, I tried with your hotkey (Ctrl+Shift+A), on blender 3.4alpha, and had no issue.
I also tried creating a new keymap like you, calling the wm.call_menu_pie
operator with VIEW3D_MT_PIE_quicksnap
as the pie name, and the pie menu did show up. So, it looks like it's the pie menu itself the issue and not the key binding.
Just to check, could you download the latest version on github here (Instructions in the readme), and do the following:
You should see something like this:
[INFO] 2022-10-21 15:34:09,502 Detecting current hotkey
[INFO] 2022-10-21 15:34:09,502 Tool hotkey stored: Ctrl:1 - Shift:1 - Alt:0 - Key:A
[INFO] 2022-10-21 15:34:09,788 Pie menu called.
Tell me if you do, or if you see any error.
If you see Pie menu called
, then the issue is indeed with the pie menu itself, and to be honest I do not know what could be the issue, it really is a super basic menu, I am not doing anything unusual in the code there.
Really sorry for the troubleshooting man, i´ve finally found what was causing my issue, it wasn´t the addon itself! My workspace was configured to filter the addons, and i forgot to activate QuickSnap there... now the pie menu works too! Thanks for the patience, very good addon indeed ;)
Haha, alright no problem, good to hear that the problem is solved! Have a nice weekend!
I will set this issue as solved.
Even forcing it manually on the keymap, i can´t use the pie menu. Shortcut doesn´t work, press the same key as the operator ( hard to find on the documentation ) doesn´t work either addon version 1.3.3 blender version 3.4 alpha