Multi-Object-Mode: Edit MetaBall Tools #54649

Closed
opened 2018-04-16 12:58:23 +02:00 by Campbell Barton · 11 comments

Select Menu:

Note: Selection pick is not working either.

MetaBall Menu:

## Select Menu: - ~~MBALL_OT_select_all~~ 0a893c0901 - ~~MBALL_OT_select_random_metaelems~~ f897d95372 - ~~MBALL_OT_select_similar~~ 5f8d369495 ~~Note: Selection pick is not working either.~~ ## MetaBall Menu: - ~~MBALL_OT_delete_metaelems~~ 6bee49eca4 - ~~MBALL_OT_duplicate_metaelems~~ 046ec863ff
Campbell Barton self-assigned this 2018-04-16 12:58:23 +02:00
Author
Owner

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Added subscriber: @semaphore

Added subscriber: @semaphore

Done all the above.

The right click select is not working
i tried chanege

ED_mball_select_pick

like

EDBM_select_pick, ED_armature_edit_select_pick, ED_lattice_select_pick, ED_curve_editfont_select_pick

but i failed.

Also the following functions uses old code.

hide_metaelems_exec
reveal_metaelems_exec
Done all the above. The right click select is not working i tried chanege ``` ED_mball_select_pick ``` like > EDBM_select_pick, ED_armature_edit_select_pick, ED_lattice_select_pick, ED_curve_editfont_select_pick but i failed. Also the following functions uses old code. ``` hide_metaelems_exec reveal_metaelems_exec ```

Added subscriber: @dfelinto

Added subscriber: @dfelinto

@semaphore

The patches overall are fine, but we need to skip the for loop when there is no selected elements. There is no equivalent of totvertsel/edge/face in metaballs. You need to add this (as its own patch), so we can proceed with the other patches? It should be straight forward.

The right click select may be a different issue, but let's focus on the other operators first?

@semaphore The patches overall are fine, but we need to skip the for loop when there is no selected elements. There is no equivalent of `totvertsel`/edge/face in metaballs. You need to add this (as its own patch), so we can proceed with the other patches? It should be straight forward. The right click select may be a different issue, but let's focus on the other operators first?

@dfelinto

In MetaBall there is a double list mb->editelems of nodes type MetaElem and foreach of them a bitmask flag for ml->flag in first bit to check if it is selected..

To be clear...

Do you want me to edit struct MetaBall and add an int totelemsel?
Find all references functions that changes totvertsel and change all respective functions on mball to change the new totelemsel accordingly?
Then submit it as a pach and then re submit all aabove paches to check it?

@dfelinto In MetaBall there is a double list mb->editelems of nodes type MetaElem and foreach of them a bitmask flag for ml->flag in first bit to check if it is selected.. To be clear... Do you want me to edit struct MetaBall and add an int totelemsel? Find all references functions that changes totvertsel and change all respective functions on mball to change the new totelemsel accordingly? Then submit it as a pach and then re submit all aabove paches to check it?

@semaphore that's what I meant yes, but Campbell just implemented BKE_mball_is_any_selected and BKE_mball_is_any_unselected, so you are good to update them (not re-submit as new patches, but update the existent ones).

@semaphore that's what I meant yes, but Campbell just implemented `BKE_mball_is_any_selected` and `BKE_mball_is_any_unselected`, so you are good to update them (not re-submit as new patches, but update the existent ones).

Added subscriber: @Quetzal

Added subscriber: @Quetzal

I made a differential two weeks ago for MBALL_OT_select_all, but just realized that it didn't get linked back to the parent task, so if it's still current, there it is: D3347 .

hmm... I mentioned the wrong task, that's why.

I made a differential two weeks ago for `MBALL_OT_select_all`, but just realized that it didn't get linked back to the parent task, so if it's still current, there it is: [D3347](https://archive.blender.org/developer/D3347) . hmm... I mentioned the wrong task, that's why.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

I will address the selection issues and bugs separately. But overall as far as the main multi-objects operators is concerned, this is done.

I will address the selection issues and bugs separately. But overall as far as the main multi-objects operators is concerned, this is done.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54649
No description provided.