LogicalError / realtime-CSG-for-unity

Realtime-CSG, CSG level editor for Unity
https://realtimecsg.com
MIT License
732 stars 76 forks source link

Mouse Cursor Issue solving #376

Closed Gawidev closed 11 months ago

Gawidev commented 1 year ago

Minor changes aimed at fixing Mouse Cursor Display issues. 1- Prevents the buggy cursor flickering in 2021.3 when using the pan view tool or moving around in sceneview. Only cases where this still happens is when the pan view tool is selected and the user hovers the mouse next to the edge of a re-sizable docked window (im pretty certain this is a Unity bug since it happens without rcsg installed).

2- Solves the viewtool cursors never appearing in 2019.4 when in Place/Edit/Surface mode. Only thing that doesn't work is MMB shortcut for view pan swapping the cursor to the grab hand, I cant understand why right now, I imagine it'll be more obvious after further cleaning and refactoring of the EditModes code.

These changes have been tested on 2021.3.16f1, 2020.3.37f1 and 2019.4.40f1