Parenting Metaball to Empty Freezes Blender #42687

Closed
opened 2014-11-22 13:03:36 +01:00 by Keen Foong · 11 comments

System Information
Windows 7 x64 Professional
Intel Core i7-4770 CPU @ 3.5GHz
nVidia GeForce GTX 580

Blender Version
Broken: 82aa32c. Broken on Official 2.72b x64 as well

Parenting the metaball to an empty freezes blender. Not sure what else to say other than there are many metaballs in this scene and it freezes blender when parented. When it freezes it doesn't come back even after waiting an hour or two. I've tested some other metaballs other than the one I've selected in the scene attached and it freezes as well.

However it doesn't freeze when I "Parent (Keep Transform)".

Exact steps for others to reproduce the error
metaballpooptest_bugreport.blend
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  • The objects should already be selected.
  • If not select "MBall.001" metaball then shift select the "Inner" empty.
  • Press Ctrl-P to parent
  • Select "Object" ("Object (Keep Transform)" doesn't freeze blender)
**System Information** Windows 7 x64 Professional Intel Core i7-4770 CPU @ 3.5GHz nVidia GeForce GTX 580 **Blender Version** Broken: 82aa32c. Broken on Official 2.72b x64 as well Parenting the metaball to an empty freezes blender. Not sure what else to say other than there are many metaballs in this scene and it freezes blender when parented. When it freezes it doesn't come back even after waiting an hour or two. I've tested some other metaballs other than the one I've selected in the scene attached and it freezes as well. However it doesn't freeze when I "Parent (Keep Transform)". **Exact steps for others to reproduce the error** [metaballpooptest_bugreport.blend](https://archive.blender.org/developer/F125373/metaballpooptest_bugreport.blend) Based on a (as simple as possible) attached .blend file with minimum amount of steps - The objects should already be selected. - If not select "MBall.001" metaball then shift select the "Inner" empty. - Press Ctrl-P to parent - Select "Object" ("Object (Keep Transform)" doesn't freeze blender)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @kfoong

Added subscriber: @kfoong

Added subscriber: @FloridaJo

Added subscriber: @FloridaJo

Works okay on OSX 10.10.1

Works okay on OSX 10.10.1

Added subscriber: @willi-2

Added subscriber: @willi-2

Problem reproducable with blender-2.72-b9d9df9-win64

Problem reproducable with blender-2.72-b9d9df9-win64
Member

Added subscribers: @ideasman42, @JulianEisel

Added subscribers: @ideasman42, @JulianEisel
Member

Hey @kfoong,
I'm not really sure what to do here. From the code, it looks like we don't support metas to be parented to objects correctly.
From ED_object_parent_set:

/* XXX currently this should only happen for meshes, curves, surfaces,
			 * and lattices - this stuff isn't available for metas yet */

I wasn't able to create a different situation that provokes a freeze like this, though.
If I'm right and we don't support meta parenting yet, we have two possibilities:

  • Add meta parenting support
  • Disable the operator for metas completely and handle it as a To Do
    Of course, the first method would be the prefered one, but we shouldn't forget that meta objects aren't really maintained and supported, at all. So if this eats up too much time, we should just go with the second method.

@ideasman42, what do you think? Would that be an easy fix/worth investigating?

We could also add this to BF Blender: Unconfirmed, where we could try to find scenarios leading to a similar freeze.

Hey @kfoong, I'm not really sure what to do here. From the code, it looks like we don't support metas to be parented to objects correctly. From `ED_object_parent_set`: ``` /* XXX currently this should only happen for meshes, curves, surfaces, ``` * and lattices - this stuff isn't available for metas yet */ I wasn't able to create a different situation that provokes a freeze like this, though. If I'm right and we don't support meta parenting yet, we have two possibilities: * Add meta parenting support * Disable the operator for metas completely and handle it as a To Do Of course, the first method would be the prefered one, but we shouldn't forget that meta objects aren't really maintained and supported, at all. So if this eats up too much time, we should just go with the second method. @ideasman42, what do you think? Would that be an easy fix/worth investigating? We could also add this to *BF Blender: Unconfirmed*, where we could try to find scenarios leading to a similar freeze.
Julian Eisel self-assigned this 2014-11-24 21:00:35 +01:00
Julian Eisel removed their assignment 2014-11-24 21:00:58 +01:00
Member

Removing project "Platform: Windows", since I was able to reproduce it on Linux.

Removing project "Platform: Windows", since I was able to reproduce it on Linux.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-11-25 14:25:06 +01:00

The thing here is: after parenting the child metaball becomes really huge and requires loads of grid cells to be evaluated. So blender does not freeze, it just will take ages to recalculate the meta surface. If you parent with keeping transform then the size of the meta stays the same keeping computation time sane. You can see what's happening if you set meta resolution to 1 before parenting.

For sure the things could be optimized in metaballs, but that i'd consider a known TODO. Thanks for the report anyway.

The thing here is: after parenting the child metaball becomes really huge and requires loads of grid cells to be evaluated. So blender does not freeze, it just will take ages to recalculate the meta surface. If you parent with keeping transform then the size of the meta stays the same keeping computation time sane. You can see what's happening if you set meta resolution to 1 before parenting. For sure the things could be optimized in metaballs, but that i'd consider a known TODO. Thanks for the report anyway.
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
5 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#42687
No description provided.