AnimalLogic / AL_USDMaya

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

fix for TEST(LayerCommands, addSubLayer) #69

Closed pmolodo closed 6 years ago

pmolodo commented 6 years ago

Description (this won't be part of the changelog)

Fairly sure that there's a bug with the above test - the command adds a "root" layer, which itself has a sublayer, so two more layers get added to the main layer stack when it is added... but the code only expects one new layer. Perhaps this is a usd-0.8.3 or usd-0.8.4 change? Does this test pass for you folks with 0.8.2?

Fixed

Checklist (Please do not remove this line)

dbaz commented 6 years ago

Ah yes it passes for us. Wondering if it is because we are getting an error with a reference in the root.usda file and it somehow breaks the subLayer coming from the root.usda.. But you are right I would expect there to be 5. I'll try look into this soon!

pmolodo commented 6 years ago

superceded by 1a293035438b51ee570317e16b3543c6059ab976