Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-09-17 12:36:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-09-17 12:36:43 +0400
commit5f21cab631cf9411bc7242232bbc9d646abda0e2 (patch)
tree88dd9ff608f8b272d59838d52b5b6a133e0f7132 /source
parentd89240ba121fec2d5d2fb3526fece5dec172e105 (diff)
corected some mistakes in the metaball docs.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/doc/Metaball.py9
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():