Blender Git Commit Log

Git Commits -> Revision 48524d6

Revision 48524d6 by Campbell Barton (master)
November 18, 2010, 04:26 (GMT)
fix [#24780] Metaballs are not drawn correctly in new scenes

this is a can of worms, at the moment blender depends on broken behavior for metaballs:
find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c).

Metaballs needs a refactor however at least make drawing fail consistently,
For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame).

For now the motherball needs to exist in the main scene else it wont work.

Commit Details:

Full Hash: 48524d6e9122c323a43ef9fc8ba30b20e101308c
SVN Revision: 33148
Parent Commit: 7045ef6
Lines Changed: +40, -26

6 Modified Paths:

/source/blender/blenkernel/intern/mball.c (+15, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -11) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+12, -6) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+2, -9) (Diff)
/source/blender/makesrna/intern/rna_object.c (+9, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021