|
[fixed] Why CTRL+R not equal to MMB ?
|
|
10-30-2015, 07:31 AM
(This post was last modified: 10-30-2015 07:59 AM by micheus.)
Post: #6
|
||||
|
||||
|
RE: [ggaliens] Why CTRL+R not equal to MMB ?
ggaliens, it will not work since only the coordinate returned by this function is used by wings_menu module (called in two places).
I took a look on it and it needs to be managed in the popup_events handler. There, the second bind option for receive will process the mouse button for the item selected and it's processing only the three buttons returned in the #wxMouse{type=What} => What -> left_up,middle_up and right_up. As I believe it should to process the mouse buttons as in the preferences, we need to check for num_buttons value and handle the translations to One and Two buttons (not only Two). The workaround/fix I did works fine, but we can get a side effect when using One button: Alt+click in Flip command is intend to duplicate the object before flip it. ![]() Here is the code from wings_menu.erl in case you want to evaluate it. The changes/adds are signed with [*** xxxx ***]. Code: :
|
||||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
[fixed] Why CTRL+R not equal to MMB ? - ggaliens - 10-23-2015, 03:26 PM
RE: Why CTRL+R not equal to MMB ? - micheus - 10-23-2015, 03:38 PM
RE: Why CTRL+R not equal to MMB ? - micheus - 10-23-2015, 03:42 PM
RE: Why CTRL+R not equal to MMB ? - ggaliens - 10-23-2015, 03:50 PM
RE: [ggaliens] Why CTRL+R not equal to MMB ? - ggaliens - 10-30-2015, 02:27 AM
RE: [ggaliens] Why CTRL+R not equal to MMB ? - micheus - 10-30-2015 07:31 AM
RE: [ggaliens] Why CTRL+R not equal to MMB ? - ggaliens - 10-30-2015, 02:27 PM
RE: [ggaliens] Why CTRL+R not equal to MMB ? - micheus - 10-30-2015, 03:33 PM
|
User(s) browsing this thread: 1 Guest(s)





@MicheusVieira
MicheusVieira
Micheuss
micheus4wings3d