AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

Fixes a crash that happens when using AL_usdmayaProxyShapeSelect with pseudo-root "/" #145

Closed pmolodo closed 5 years ago

pmolodo commented 5 years ago

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)