Pullusb / viewport_timeline_scrub

Blender addon - Scrub timeline from viewport with a shortcut
GNU General Public License v3.0
47 stars 6 forks source link

Suggestion: Ctrl + Alt + MMB direct operation #2

Open hced opened 3 years ago

hced commented 3 years ago

A small improvement would be if the addon could work directly, if you press Ctrl + Alt and then MMB-drag, to directly start jumping between keyframes. Currently, you'll have to start Alt-MMB-dragging and then hit CTRL for keyframe jumps.

Great, great, great addon by the way!

Pullusb commented 3 years ago

Hi,

I'm already aware of this. I agree that It would be a nice touch. But the thing is, starting shortcuts trigger different operators, and by default Ctrl + Alt + MMB is used for canvas rotation in the official Grease pencil Tools addon. So I can't take this shortcut. (It's hard to find available keys these days ^^).

On the other hand, if you often want to snap, you can activate the Always snap mode in addon preferences. That way the Ctrl modifier will be inverted and this might prove more efficient for you.

BTW, the timeline scrub is integrated in 2.93's Grease pencil Tools In 2.92-, instead of using the viewport_timeline_scrub standalone, you can get the last version of the full addon from this repository You will have two grease pencil tools side by side in list, But since the folder don't have the same name you just have to disable the old and enable the new one (by checking versions).

Thanks for the feedback, really happy that you find this usefull.

Pullusb commented 3 years ago

I'll just add that it's very difficult to make everyone happy when it comes to shortcuts, It really depend too much on user habits. For example some user already complain that Alt+MMB overload the native quick view swap. That's why I made a system where you can customize the trigger in prefs, but that also add big constraints for me at code level, making even more difficult to add the proposition you made.

Happy blending !

hced commented 3 years ago

I understand the difficulty completely, Pullusb. The feature works fine as it is, so this is not crucially important.

Some wild ideas which are probably terrible, or not:

One idea would be to let LArrow OR RArrow commence normal sliding and LArrow AND RArrow commence keyframe-snapped timeline slide.

The other idea (which I don’t know if it’s possible) is to make use of different sides of modifier keys, so that, par example, RCtrl + MMB would start normal slide and RCtrl + RShift + MMB would start keyframe-snap drag. If not possible, there are third party tools such as AHK for Win which can separate between left/right-modifiers, so if the addon could just open for the possibility of adding a custom key for directly snapping, that would provide a solution for the users to decide on the keys themselves. I actually think there’s a usability advantage to be gained by this feature. (But again, no pressure if complicated to add. I’m very thankful for this piece of art anyway. If you decide not to implement this, feel free to close the issue.)