Multi-Object-Editing: MESH_OT_separate by Nick Milios
authorDalai Felinto <dfelinto@gmail.com>
Wed, 9 May 2018 10:04:43 +0000 (12:04 +0200)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 9 May 2018 10:13:09 +0000 (12:13 +0200)
commit5e915baec4ad657ac9655a9921425bfaec98ea66
tree5fe200e40595fba82e0f99396c5c1a8abeeee9f0
parent944054fbb61e0d0eb9df99205bfda6af811f694a
Multi-Object-Editing: MESH_OT_separate by Nick Milios

Patch description:

- Reports "Nothing selected" only when all objects has no selection
  and it is in  Separate type(Mode)
- Tested all types (Seperate/By Material/By loose parts)
- Instead of using

```
BKE_view_layer_array_from_objects_in_edit_mode_unique_data
```

I used

```
BKE_view_layer_array_from_bases_in_edit_mode_unique_data
```

Because it needs the "Base" not the "Object" itself.

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3267
source/blender/editors/mesh/editmesh_tools.c