-
Notifications
You must be signed in to change notification settings - Fork 128
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
Maya: Render settings validation attribute check tweak logging #3821
Maya: Render settings validation attribute check tweak logging #3821
Conversation
We are not sure we understand exactly the testing procedure here. But I encountered an error while testing render settings
(as a side note, could it be possible to make the input key text box wider as the attributes name can get quite long and it makes it unreadable in the settings. or should I create a separate issue for it?) |
Thank you! I'm not in the office Today so sorry for the short reply but this looks like I didn't fix it correctly yet. |
Ha, that's funny @m-u-r-p-h-y - I have taken another look. I think that's actually an other area of the code base, that's the Render Settings settings. This PR relates to the Validate Render Settings logic. This PR is about:
These take a You are referring to an issue with:
These take a So that label in the documentation for the additional options in Render Settings I believe is wrong. It shouldn't be just the attribute's name but it should include the node name as well.
It would be:
I also feel that the render settings logic should log a warning if the I'd be happy to rework that logic too - but I'm not sure if it makes sense to add into this PR.
Totally agree. Would be nice if that Settings UX could get fixed for that. |
I have tested several attributes like "Add additional options - put attribute name and value, like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working ok!
Small note: the hint message in Admin/Project section should be adjusted-see my comment.
Should be fixed now with 484e317
Like @m-u-r-p-h-y mentioned - this is still the case. The attribute field is a bit smaller than you'd like. |
I can confirm that the "hint msg" in OP Project settings is updated and fine... |
Brief description
If settings was previously set up with an attribute name that was NOT
{node_type}.{attr}
like e.g.foobar
without a dot the logic would've made it intofoobar
as node_name and would have tried to getAttrnode.
which seems odd. Now the logic will warn the user about the invalid settings.I also believe the previous
isinstance
list check would have never proceeded to detect no nodes found sincecmds.ls()
always returns a list, even when no matching nodes detected.It's mostly logging related cosmetics.
Additional Info
This PR is about:
These take a
{node_type}.{attribute_name}
and a valueTesting notes: