diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-09-17 12:36:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-09-17 12:36:43 +0400 |
commit | 5f21cab631cf9411bc7242232bbc9d646abda0e2 (patch) | |
tree | 88dd9ff608f8b272d59838d52b5b6a133e0f7132 /source | |
parent | d89240ba121fec2d5d2fb3526fece5dec172e105 (diff) |
corected some mistakes in the metaball docs.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/doc/Metaball.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/doc/Metaball.py b/source/blender/python/api2_2x/doc/Metaball.py index 25b4fbd81d5..29096b75712 100644 --- a/source/blender/python/api2_2x/doc/Metaball.py +++ b/source/blender/python/api2_2x/doc/Metaball.py @@ -48,7 +48,7 @@ Example:: meta_type= 0 # all elemts are ball type - meta_shiftness= 2.0 # Volume + meta_stiffness= 2.0 # Volume for bone in arm.bones.values(): print bone @@ -82,10 +82,10 @@ Example:: rad= (head_rad*w1 + tail_rad*w2) * 1.3 # Add the metaball - ml= mb.elements.add() ([meta_type, loc.x, loc.y, loc.z, rad, meta_shiftness, 0, 0, 0]) + ml= mb.elements.add() ml.co= loc ml.radius= rad - ml.stiffness= meta_shiftness + ml.stiffness= meta_stiffness Window.RedrawAll() @@ -146,6 +146,9 @@ class Metaball: @ivar thresh: Threshold setting for this metaball. Value clamped between 0.0 and 5.0. @type thresh: float + @ivar materials: List of up to 16 Materials or None types + Only the first material of the mother-ball used at the moment. + @type materials: list """ def copy(): |