Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh.getVertexNormals missing #426

Closed
pmolodo opened this issue May 6, 2020 · 1 comment
Closed

Mesh.getVertexNormals missing #426

pmolodo opened this issue May 6, 2020 · 1 comment

Comments

@pmolodo
Copy link
Contributor

pmolodo commented May 6, 2020

To reproduce:

import pymel.core as pm
mesh = pm.polyCube()[0].getShape()
mesh.getVertexNormal(0, angleWeighted=False, space='world')  # this works
mesh.getVertexNormals(angleWeighted=False, space='world')  # this doesn't exist

There's no reason I can see why this wrap isn't being created...

@pmolodo
Copy link
Contributor Author

pmolodo commented May 7, 2020

Added in develop branch: b546f10

It turns out this function was simply disabled in apiToMelData - not sure why, possibly because of a legacy bug... or maybe because we couldn't easily get undo for the corresponding set functions...?

Anyway, I turned this function on, as well as:

'getVertexColors'
'getVertexNormals'

...and added tests.

Making another ticket to investigate the other disabled methods at some point:

#428

@pmolodo pmolodo closed this as completed May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant