Currently, if you try to use the AL_usdmayaProxyShapeSelect command to select the pseudo-root ("/"), it will trigger a crash. (Though sometimes not immediately.) This fixes this, so that trying to select the root will just select the ProxyShape object itself, instead.
Changelog
Fixed
Fixes crash when selecting "/" with AL_usdmayaProxyShapeSelect; now selects proxy shape object
Checklist (Please do not remove this line)
[X] Make sure the Title and Description of the PR make sense and provide sufficient context for your work
[X] Do any added files have the correct AL Apache Licence Header?
[X] Are there Doxygen comments in the headers?
[X] Are any new features, behaviour changes documented in the .md format documentation?
[X] Have you added, updated tests to cover new features and behaviour changes?
[X] Have you filled out at least one changelog entry?
Description (this won't be part of the changelog)
NOTE: this branches off of https://github.com/AnimalLogic/AL_USDMaya/pull/142, so please check that PR first.
Currently, if you try to use the AL_usdmayaProxyShapeSelect command to select the pseudo-root ("/"), it will trigger a crash. (Though sometimes not immediately.) This fixes this, so that trying to select the root will just select the ProxyShape object itself, instead.
Changelog
Fixed
Checklist (Please do not remove this line)