Page MenuHome

Property Search: Quick start and clear operators
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Sep 9 2020, 8:14 PM.

Details

Summary

This patch adds quick start and quick clear operators.

ctrl-F is obviously necessary, but the clear operator, alt-F requires
a bit of explanation. First, it maps nicely to the paradigm of "key to set,
alt-key to clear," which makes it pretty unobtrusive. Second, it can be
a quicker way to clear the search than moving the mouse to the top.
Finally, a future improvement I would like to make to property search
is adding the ability to reset the panels to their expansion before the
search started. Either escaping out of the button while text editing or
pressing alt-F would be the way to do that.

Diff Detail

Repository
rB Blender
Branch
property-search-start-end-operators (branched from master)
Build Status
Buildable 10206
Build 10206: arc lint + arc unit

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Sep 9 2020, 8:14 PM
Hans Goudey (HooglyBoogly) created this revision.
This revision is now accepted and ready to land.Sep 10 2020, 12:59 PM
Julian Eisel (Severin) added inline comments.
source/blender/editors/space_buttons/buttons_ops.c
93

Just use space->search_string[0] = '\0'.

Julian Eisel (Severin) edited the summary of this revision. (Show Details)Sep 10 2020, 2:17 PM
  • Merge changes from previous patches
Hans Goudey (HooglyBoogly) marked an inline comment as done.Sep 14 2020, 8:33 PM
  • Merge branch 'property-search-single-tab' into property-search-start-end-operators