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 149 forks source link

editor_main: Elements with collisions disabled not selectable #427

Closed dnl-k closed 2 weeks ago

dnl-k commented 1 year ago

Elements with collisions disabled through the properties menu are no longer selectable without High Sensitivity Mode (e) enabled. Intentional or not, it's annoying to work with.

Edit: Reloading the map makes the element selectable without High Sens Mode.

jlillis commented 1 year ago

Confirmed. I'm not sure if it's intentional or not, but if it's a recent change in behavior I'd consider it a bug. Would like some more feedback first since I don't use or work on the editor very often.

dnl-k commented 2 weeks ago

Caused by https://github.com/multitheftauto/mtasa-resources/commit/aeed6838b79756002f6ac46af1baf4a5476d9493#diff-385f1758e22086658aaf755e940abf9040bee3bdb486fd6e3dab4dcc0d0762a0R157

Objects with no collisions are not picked up by processLineOfSight Since adding the property setter, objects collisions actually get disabled in the editor - unlike before