Page MenuHome

Box-selection in Outliner using Mouse

Authored by Aqib Maqbool (aqib) on May 6 2019, 11:27 AM.
"Love" token, awarded by Draise."Love" token, awarded by michaelknubben."Love" token, awarded by Alrob."Yellow Medal" token, awarded by amonpaike."Love" token, awarded by pascalandr."Love" token, awarded by Oskar."Love" token, awarded by symstract."Love" token, awarded by xrg."Like" token, awarded by duarteframos."Love" token, awarded by irfan."Love" token, awarded by billreynish."Love" token, awarded by elbox01."Love" token, awarded by jendrzych.

Diff Detail

rB Blender

Event Timeline

Great. This does a two main things:

  • Sync selection to 3d View when using box select
  • Allow box selecting when dragging from outside the items
William Reynish (billreynish) requested changes to this revision.May 6 2019, 12:29 PM

This gives an error on startup. outliner.select_box does not have an AND mode. Just remove the line in the Outliner keymap that adds the AND selection.

This revision now requires changes to proceed.May 6 2019, 12:29 PM

Resolve the error outliner.select_box does not have an AND mode show at startup of Blender

@William Reynish (billreynish) The error outliner.select_box does not have an AND mode at startup has resolved

William Reynish (billreynish) accepted this revision.EditedMay 6 2019, 3:15 PM

Tested. Seems to work well.

Perhaps @Dalai Felinto (dfelinto) or @Brecht Van Lommel (brecht) would like to go over the code to check it's ok?

This revision is now accepted and ready to land.May 6 2019, 3:15 PM

Hi Aqib, just to be a bit nitpicking...
Right now how can Blender tell if you're boxselecting or click-selecting a single object? From the gif it looks like you have to box select not starting from an icon, otherwise it will trigger the action of grabbing the icon and move the object into a collection. Right?
But we need to visually tell that, and it could be done with mouseover highlight: with the new blue selection those circles under the icons become redundant and useless, so they could be used on_mouseover to alert that you are going to "singleclick+grab" instead of box-selecting.
(Hope I was understandable)

@Lsscpp (lsscpp) Firstly, I want to say thanks to you. You are right. Maybe someone else can works on your suggestion. I 'am no longer working on Blender's because currently I 'have no free time!!! sorry.

Just want to know you how currently it works.

these are the area's to trigger click selection otherwise (empty space including left arrow) are used to trigger box-selection.

The complete idea, which is implemented here is on Outliner Selection With Mouse Improvement

If any confusion or suggestion, you are most welcome.

I think many students are working on the related projects (e.g. GSOC students). thanks...