Blender Git Commits

Blender Git "temp-geometry-nodes-attribute-search" branch commits.

February 25, 2021, 14:52 (GMT)
Use RNA pointer to get node tree
February 25, 2021, 14:49 (GMT)
Merge branch 'search-button-first-search' into temp-geometry-nodes-attribute-search
February 25, 2021, 14:49 (GMT)
Merge branch 'search-button-allow-all' into search-button-first-search
February 25, 2021, 14:49 (GMT)
Merge branch 'master' into search-button-allow-all
February 25, 2021, 14:49 (GMT)
Adjust behavior for "add attribute" item

It's no longer added when there is an existing attribute with the same name
February 25, 2021, 14:27 (GMT)
Merge branch 'master' into temp-geometry-nodes-attribute-search
February 24, 2021, 23:51 (GMT)
Merge branch 'search-button-first-search' into temp-geometry-nodes-attribute-search
February 24, 2021, 23:49 (GMT)
UI: Expose an "is first search" boolean to search button callbacks

Currently when you open an RNA collection search button, like a
vertex group selector, the search filter isn't applied until you
start typing, in order to list every option at the start. Otherwise
they wouldn't be visible, since the search filter would run.

Currently this same check happens in one place, but it checks the
`changed` value of `uiBut`. This is fine in the interface directory,
but anywhere else it doesn't work. And I think exposing `uiBut.changed`
is not a good idea, since it's too general and is only used for this
specific situation anyway.

So, the solution is adding an `is_first` argument to the search
callbacks, which is nice for a few reasons:
- They work at a higher level of abstraction, meaning they don't
have to worry about how exactly to tell if this is the first
search.
- It makes it easier to do special behavior when the search menu
is first opened.
- Then, obviously, it makes that state accessible without including
`interface_intern.h`.

Ref T85658

Maniphest Tasks: T85658

Differential Revision: https://developer.blender.org/D10528
February 24, 2021, 23:40 (GMT)
Use exposed "is first search" boolean
February 24, 2021, 23:31 (GMT)
Merge branch 'search-button-allow-all' into temp-geometry-nodes-attribute-search
February 24, 2021, 23:31 (GMT)
Merge branch 'master' into search-button-allow-all
February 24, 2021, 23:30 (GMT)
Add todo comment
February 24, 2021, 23:12 (GMT)
Cleanup: Add comment
February 24, 2021, 23:02 (GMT)
Attribute Search: Always display search string with + icon
February 24, 2021, 22:34 (GMT)
Cleanup: Remove unused variable
February 24, 2021, 22:32 (GMT)
Merge branch 'search-button-allow-all' into temp-geometry-nodes-attribute-search
February 24, 2021, 22:32 (GMT)
Fix order of apply and all strings valid check
February 24, 2021, 22:01 (GMT)
Cleanup, check for node tree type
February 24, 2021, 21:09 (GMT)
Merge branch 'search-button-allow-all' into temp-geometry-nodes-attribute-search
February 24, 2021, 21:04 (GMT)
Change order of assert and cast
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021