OldUnreal / UnrealTournamentPatches

Other
1.04k stars 30 forks source link

[469c] Context menu for selected Actors can't be called from keyboard #1163

Open SeriousBuggie opened 1 year ago

SeriousBuggie commented 1 year ago

Reproduce:

  1. Select any actor in UnrealEd.
  2. Press context menu key on keyboard. img

Expected result: Appear context menu for actor. Actual result: Nothing happens.

If no selected actors it must show surface context menu if any surface selected. If no selected surfaces it must show Backdrop context menu.

SeriousBuggie commented 1 year ago

Key code VK_APPS. Processing of it must be somewhere in WinInput. Like if we detect such press, we look what viewport get it. if this TextureBrowser viewport, then call GEditor->EdCallback( EDC_RtClickTexture, 0 ); For other cases, need determine what we have there. EDC_RtClickActor is there some actors selected. EDC_RtClickPoly if this not Ortho viewport and some surfaces selected. EDC_RtClickWindow and EDC_RtClickWindowCanAdd in all other cases.