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

Filter attribute combo box by primitive / type #10

Open
lbinria opened this issue Feb 16, 2024 · 2 comments
Open

Filter attribute combo box by primitive / type #10

lbinria opened this issue Feb 16, 2024 · 2 comments

Comments

@lbinria
Copy link

lbinria commented Feb 16, 2024

It would be very useful to be able (by C++ / LUA code) to display a filtered version of attributes combo box.
For example, if we want to display a combo box that only contains all vertices attributes, or eventually all vertices.bool attributes.

Below, lock attribute expect to be a vertices.bool attribute, but combo box contains all attribute types:

Screenshot from 2024-02-16 09-30-39

@lbinria lbinria changed the title Filter combo box attribute by primitive / type Filter attribute combo box by primitive / type Feb 16, 2024
BrunoLevy added a commit that referenced this issue Feb 18, 2024
for the list of attributes that appear in a pulldown menu
(solves #10)
@BrunoLevy
Copy link
Owner

BrunoLevy commented Feb 18, 2024

Just pushed a new version.
See lib/programming_examples/Lua/custom_commands for an example.

@lbinria
Copy link
Author

lbinria commented Feb 21, 2024

👍 , good for me !
But it seems that you change the attribute names format. For example vertices.bool become vertices.OGF::Numeric::uint8.

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

2 participants