multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
151 stars 151 forks source link

editor: delete button not working #412

Closed turret001 closed 1 year ago

turret001 commented 1 year ago

Which resource(s) have this problem? editor or some other resource related to it

Describe the bug when you select an object from map and press delete, it doesn't delete the object anymore. you have to select the object from objects list and press delete from there.

To Reproduce

  1. download [editor] files from mtasa-resources,
  2. replace your map editor files with the ones downloaded from mtasa-resources
  3. boot up MTA, click on Map Editor from main menu
  4. add an object (didn't test if it works on vehicles/peds/pickups)
  5. press F to toggle mouse, click on the object
  6. press DEL on your keyboard

Expected behavior it should delete the object like it used to

Screenshots object before pressing DEL: image

object after pressing DEL: image

Version Windows 10, Multi Theft Auto v1.5.9-release-21437.1 resource files from mtasa-resources.

Additional context it is crucial that we fix this, most users won't go thru the routine of opening the objects list and deleting from there. this commit might be the culprit: https://github.com/multitheftauto/mtasa-resources/commit/15fbc95f61f493e96a927f8f4fa483f25be2cd13 last working commit was this: https://github.com/multitheftauto/mtasa-resources/commit/e1e5b1a2a2722594dc80104a5da962aaeac7922f (one before 15fbc95)