hey Jeiel, nope it was using alt as a modifier combined with left click (pretty much exactly the same as the eyedropper tool)
fleity
Creator of
Recent community posts
Hey Jeiel,
no worries, it's a rather unsual and not very urgent request I guess (and yes I am aware that changing the code breaks the as soon as I update it) ^^. Thanks for your answer.
Ok so the main thing I was missing before was the line in the gui file to change the cursors appearance. Now the eyedropper works with shift which is already very nice , but the alt key still gets intercepted by sprytile and my usual hotkey does not work.
Additionally I had to add
if event.alt is True or event.alt == 'PRESS':
return None
in line 802 in the handle_mouse function and I've also added myself a new case in the gui.py file to get a different Icon (from the already implemented ones) for alt.
Thanks very much, looking forward to doing with sprytile now :D
too bad there is not easy solution, but nice to hear you are already working on it.
However let's say I'd be fine with just editing the code to change this one assignment in particular from alt+leftclick to ctrl or shift + leftclick. What I would need to do essentially is replace event.alt with event.ctrl / event.shift in sprytile_modal.py, right? So far I thought the lines 818-820 invoke the picker but obviously that is not whole story.
Can you give me a hint on where / what I need to edit?