Unity-Technologies / EditorXR

Author XR in XR
Other
930 stars 167 forks source link

Undo patch fix #444

Closed mtschoen-unity closed 6 years ago

mtschoen-unity commented 6 years ago

Fixes the frequent "Driving RectTransform" undo actions registered by RectTransform by setting a static bool in a patched version of UnityEngine.CoreModule.dll.

To apply the patch, manually unzip the patched dll and overwrite the version in

\Editor\Data\Managed\UnityEngine We will need to provide patched versions for any Unity version we support. Thankfully the source modification basically just adds the static bool and checks it in two places (and adds the empty class for the CCU to pick up on). We will probably only support major releases until we find a more permanent solution. And we'll want to add patch instructions to the docs. For the best testing experience, merge this into features/jono/undo-redo-flick (and copy the dll into Program Files, of course).
mtschoen-unity commented 6 years ago

Huh. Lucky it works in p2 even! The problem with this being UnityEnigne.Core is that it's much more likely to conflict with native changes. I'm pretty sure we need a new dll for .3 still

mtschoen-unity commented 6 years ago

This has been merged into features/jono/undo-redo-flick