Page MenuHome

Change Vertex Colors panel to Attributes in Node Wrangler
ClosedPublic

Authored by Ramil Roosileht (Limarest) on Apr 16 2022, 7:21 PM.

Diff Detail

Event Timeline

Ramil Roosileht (Limarest) requested review of this revision.Apr 16 2022, 7:21 PM
Ramil Roosileht (Limarest) created this revision.
Brecht Van Lommel (brecht) requested changes to this revision.Apr 20 2022, 6:30 PM
Brecht Van Lommel (brecht) added inline comments.
node_wrangler.py
4558

Can you rename this class too? NWColorAttributeMenu

4560

Keep it plural: Color Attributes

This revision now requires changes to proceed.Apr 20 2022, 6:30 PM

In the recent meeting we discussed that the addon should support any attribute, not just color attributes. The patch could be updated to reflect that. That would be more useful.

Ramil Roosileht (Limarest) retitled this revision from Change Vertex Colors panel to Color Attributes in Node Wrangler to Change Vertex Colors panel to Attributes in Node Wrangler.
Ramil Roosileht (Limarest) edited the summary of this revision. (Show Details)
  • Updated diff to support any attribute, not just color attributes
  • Renamed a bunch of variables to reflect changes

Ramil Roosileht (Limarest) marked 2 inline comments as done.Apr 20 2022, 9:46 PM

From a user perspective this looks like the ideal way to go. If it's good on the code side to the others, then we should go ahead and commit this ๐Ÿ‘

Should we move this into the main ui scripts and not have it inside an add-on?

This revision is now accepted and ready to land.Apr 21 2022, 3:37 PM

It may be good to make this built-in, but I don't think this implementation is really polished enough for master.

I'll look at adding autocomplete to the Attribute name field though, which should help.