Closed laslavinco closed 5 years ago
Thanks for the PR, laslavinco! I've confirmed that this is indeed a problem for DisplayLayer.removeMembers. However, it looks like RenderLayer.removeMembers still works fine - editRenderLayerMembers still has a remove flag, and our tests for it still pass. It's also still in the docs, and isn't marked deprecated or anything.
Hi Akshay - I've gone ahead and merged your first commit (for DisplayLayer), but not your second (for RenderLayer), as it seems to be working. I've also added some tests for DisplayLayer so this doesn't slip by in the future. Thanks for your contribution!
Hi Akshay - I've gone ahead and merged your first commit (for DisplayLayer), but not your second (for RenderLayer), as it seems to be working. I've also added some tests for DisplayLayer so this doesn't slip by in the future. Thanks for your contribution!
@elrond79 Always a pleasure. :)
In class DisplayLayer & RenderLayer, the method removeMembers had a bug, since maya discontinued cmds.editDisplayLayerMembers's remove argument. In order to make this method work i added a work around.