Metaball names with digits in the end are invisible (also issue with renaming/duplicating metaballs) #66715

Closed
opened 2019-07-11 19:01:06 +02:00 by Vyacheslav Kobozev · 25 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-10 23:46, hash: 676543d91f
Worked: (optional)

Short description of error
If you will try to use names like MetaballFamily2, Family will disappear.
Names like Aaaa1aa and 1aaaaa — checked too, causes no problem
2019-07-11_19-49-29.mp4
untitled.blend

Exact steps for others to reproduce the error
Make metaball, add 1 to the family name

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-10 23:46, hash: `676543d91f` Worked: (optional) **Short description of error** If you will try to use names like MetaballFamily2, Family will disappear. Names like Aaaa1aa and 1aaaaa — checked too, causes no problem [2019-07-11_19-49-29.mp4](https://archive.blender.org/developer/F7593985/2019-07-11_19-49-29.mp4) [untitled.blend](https://archive.blender.org/developer/F7593987/untitled.blend) **Exact steps for others to reproduce the error** Make metaball, add 1 to the family name

Added subscriber: @Vyach

Added subscriber: @Vyach

#72986 was marked as duplicate of this issue

#72986 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Germano Cavalcante self-assigned this 2019-07-11 19:32:03 +02:00

The code was made to work that way. See:
https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/mball.c$287-311

If the last digit is not a number, it is not a mball basis (or motherball).
However we could check if it has a . before the digits.
But I don't think this change is worth it.
See the manual if there is any doubt about metaball names.

The code was made to work that way. See: https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/mball.c$287-311 If the last digit is not a number, it is not a `mball basis` (or `motherball`). However we could check if it has a `.` before the digits. But I don't think this change is worth it. See [the manual ](http://www.blender.org/manual/modeling/metas/editing.html#object-families) if there is any doubt about metaball names.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Germano Cavalcante was unassigned by Philipp Oeser 2019-07-11 19:45:39 +02:00
Philipp Oeser self-assigned this 2019-07-11 19:45:39 +02:00
Member

Well yes, those metaballs...

I would consider this a bug though, it is not what is written in the manual and there is other stuff going wrong as well:

  • you can rename a child from Mball.001 to foo [so it gets its own independent base], then rename it back to Mball.001 --> will never return into the family
  • or try renaming a child Mball.001 to its base Mball [which will then get renamed and real funny things start happening...]

Will put on my desk with low prio (for when there is time for it), but just throwing it away seems wrong, too [if you dont mind @mano-wii]

Well yes, those metaballs... I would consider this a bug though, it is not what is written in the manual and there is other stuff going wrong as well: - you can rename a child from `Mball.001` to `foo` [so it gets its own independent base], then rename it back to `Mball.001` --> will never return into the family - or try renaming a child `Mball.001` to its base `Mball` [which will then get renamed and real funny things start happening...] Will put on my desk with low prio (for when there is time for it), but just throwing it away seems wrong, too [if you dont mind @mano-wii]

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Closing since this is intended behavior, matching 2.7x

Closing since this is intended behavior, matching 2.7x

@ideasman42 But WHY such behaviour is intended? It is behavior, that have no purpose and confusing users.
Am I wrong? Should users avoid names JUST BECAUSE?

@ideasman42 But WHY such behaviour is intended? It is behavior, that have no purpose and confusing users. Am I wrong? Should users avoid names JUST BECAUSE?
See: https://docs.blender.org/manual/en/dev/modeling/metas/editing.html#object-families

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

While the issue of meta-families isn't a bug, the issues @lichtwerk mentions are.

Opening, although I can't redo @lichtwerk's bugs, exactly, I can still get errors renaming.

  • Delete everything
  • Add a metaball
  • Name it A
  • Duplicate it.
  • Name it B

... so far so good ..

  • Rename B to A

There is some strange overlapping geometry effect.

While the issue of meta-families isn't a bug, the issues @lichtwerk mentions are. Opening, although I can't redo @lichtwerk's bugs, exactly, I can still get errors renaming. - Delete everything - Add a metaball - Name it `A` - Duplicate it. - Name it `B` *... so far so good ..* - Rename `B` to `A` There is some strange overlapping geometry effect.

@ideasman42 read docs before I made this.
7772516.jpg
So I am not a newb, I like work with metapotentials, know how work with em,
But, perhaps, I am blind, or there is no info about restrictions/warnings for A1 naming.

About A.001->B->A
If you rename first A (that was A from start) back to A again (initial A becomes A.001 when you renamed B to A) you will fix the problem
2019-07-12_11-47-57.mp4
So after switching names between initial Mball and chinldren there saved something on initial ball, that prevents secon ball become main, I think.
Or something that conflicts because first ball was head from start and second become head after remaining to B.

@ideasman42 read docs before I made this. ![7772516.jpg](https://archive.blender.org/developer/F7601787/7772516.jpg) So I am not a newb, I like work with metapotentials, know how work with em, But, perhaps, I am blind, or there is no info about restrictions/warnings for A1 naming. About A.001->B->A If you rename first A (that was A from start) back to A again (initial A becomes A.001 when you renamed B to A) you will fix the problem [2019-07-12_11-47-57.mp4](https://archive.blender.org/developer/F7602010/2019-07-12_11-47-57.mp4) So after switching names between initial Mball and chinldren there saved something on initial ball, that prevents secon ball become main, I think. Or something that conflicts because first ball was head from start and second become head after remaining to B.
Member

@Vyach : yes, that was the "real funny things" I was talking about earlier... will look into it... [it is not super high prio though, since knowing the quirks should enable you to work around...]

@Vyach : yes, that was the "real funny things" I was talking about earlier... will look into it... [it is not super high prio though, since knowing the quirks should enable you to work around...]

@lichtwerk yep, nothing serious, that prevents to work with.

So I leave two warnings for those, who will search info here:

  1. Do not name Metafamilies with digits in the end, Like Aaaa1 (Aaaa1a is ok)
  2. Do not name duplicates the same name as one of families already have (any name before index, Like initial Mball for example)
@lichtwerk yep, nothing serious, that prevents to work with. So I leave two warnings for those, who will search info here: 1. **Do not name** Metafamilies with digits in the end, Like **Aaaa1** (Aaaa1a is ok) 2. **Do not name** duplicates the same name **as one of families** already have (any name before index, Like initial Mball for example)

Added subscriber: @blenderrocket

Added subscriber: @blenderrocket

I just discovered that metaballs names cannot end in digits the hard way. Can there at least be a clear warning added to the manual about this? The only thing I see written in the manual is about digits after the dot for the families. There is nothing written about no digits in the base name, these being hidden is very confusing and unexpected behavior. Even better, a simple check for a dot being present before the digits would fix this.

I just discovered that metaballs names cannot end in digits the hard way. Can there at least be a clear warning added to the manual about this? The only thing I see written in the manual is about digits after the dot for the families. There is nothing written about no digits in the base name, these being hidden is very confusing and unexpected behavior. Even better, a simple check for a dot being present before the digits would fix this.
Philipp Oeser was unassigned by Dalai Felinto 2019-12-23 16:33:48 +01:00
Philipp Oeser changed title from Metaball names with digits in the end are invisible to Metaball names with digits in the end are invisible (also issue with renaming metaballs) 2020-01-09 12:03:20 +01:00
Philipp Oeser changed title from Metaball names with digits in the end are invisible (also issue with renaming metaballs) to Metaball names with digits in the end are invisible (also issue with renaming/duplicating metaballs) 2020-01-09 12:29:21 +01:00
Member

Added subscriber: @renaissance_man

Added subscriber: @renaissance_man
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Metaballs has no active maintainer/developer. Will mark this issue as Known Issue as we don't know if it will be picked up in the next 6 months.

Metaballs has no active maintainer/developer. Will mark this issue as Known Issue as we don't know if it will be picked up in the next 6 months.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:29:43 +01:00

In recent Blender versions this seems to work correctly.

In recent Blender versions this seems to work correctly.

just jested with 4.0.0, 878f71061b8e, 2023-11-13 17:26
Issue is gone, so I will close report

just jested with 4.0.0, `878f71061b8e`, 2023-11-13 17:26 Issue is gone, so I will close report
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-11-16 12:28:02 +01:00
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
7 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#66715
No description provided.