mottosso / cmdx

Fast and persistent subset of maya.cmds
https://mottosso.com/cmdx
BSD 2-Clause "Simplified" License
193 stars 36 forks source link

include plug indices in their path() and name() #70

Closed Muream closed 2 years ago

Muream commented 2 years ago

Like the title said, I've included the index of the array plugs in their names and path.

Some error messages are using Plug.path() which was misleading before this PR because it would only mention the name of the "parent" of the actual plug. (eg. worldMatrix instead of worldMatrix[0]) The ones I ran into are now displaying the correct path.

mottosso commented 2 years ago

Great idea. :) Once the tests pass, this is happening.

Muream commented 2 years ago

Sweet 👌 Is the pypi package updated automatically when something's merged in master?

mottosso commented 2 years ago

It's generated once a new tag/release is made, which I'll do now. :)