Multi-Object-Mode: Edit MetaBall Tools #54649

Closed
opened 5 years ago by ideasman42 · 11 comments
Owner

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
ideasman42 self-assigned this 5 years ago
Poster
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 ```
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Owner

@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?
Owner

@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.
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
dfelinto closed this issue 4 years ago
Owner

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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54649
Loading…
There is no content yet.