Skip to content

Commit

Permalink
Fix an issue where it is possible to undo input bindings on first imp…
Browse files Browse the repository at this point in the history
…ort, causing exceptions
  • Loading branch information
mtschoen-unity committed Feb 2, 2020
1 parent 8c9d58f commit 274bb98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.4.6-preview] - 2020-02-02
- Fix an issue where it is possible to undo input bindings on first import, causing exceptions

## [0.4.5-preview] - 2020-02-02
Fix bugs that came up during release testing:
- Fix snapping menu not being interactable
Expand Down
1 change: 1 addition & 0 deletions Editor/SeedXRInputBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ public void GenerateXRBindings()
}
}

EditorApplication.delayCall += UnityEditor.Undo.ClearAll;
}

#region InternalProcessingCode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.labs.editorxr",
"displayName": "EditorXR",
"version": "0.4.5-preview",
"version": "0.4.6-preview",
"unity": "2019.1",
"unityRelease": "14f1",
"description": "Author XR in XR\nEditorXR provides a basic set of authoring tools and a framework for using and developing spatial authoring environments. This package adds the VR View to the Unity Editor, allowing users to take advantage of VR devices like Oculus Rift and HTC Vive in edit mode and work directly on their project and scenes in VR.\nIt is also possible to build EditorXR and its tools and workspaces into Player builds for use on devices like Oculus Quest or to incoroprate authoring components into end-user experiences.",
Expand Down

0 comments on commit 274bb98

Please sign in to comment.