Unity-Technologies / EditorXR

Author XR in XR
Other
928 stars 166 forks source link

Annotation Tool Pressure Sensitiveity + Menu Rework #481

Closed AndrewTHEManeri closed 5 years ago

AndrewTHEManeri commented 6 years ago

Purpose of this PR

General improvements to the annotation tool: Adds pressure sensitivity, pressure smoothing, and consolidates the various off-hand menus to one menu in the same style as the create primitive tool. This has a side-effect of simplifying the annotationtool script and prefabs.

Undo/redo menus are no longer suppressed by custom menus, to facilitate that feature being available while the annotation or create primitive menu is up.

Testing status

Tested in headset in empty and busy scene. Tested as various scales. Used every menu option, spatially selected different tools, and cycled through tool options as well.

Technical risk

Medium - not blocking the undo/redo menu when a custom menu is up could have unexpected consequences.

Comments to reviewers

dunity commented 6 years ago

The text on the corresponding annotation-settings panel is visible from the back of the panel. This is likely a render-queue issue, and should be remedied.

dunity commented 6 years ago

In addition, I've found a reproducible bug in this branch:

mtschoen-unity commented 5 years ago

The Double AT bug and the issue where the CreatePrimitive tool is active when closing the AnnotationTool is present on development and I have created an issue for this task