Blender.Particle.New() wasnt documented.

Changed to accept Object as well as Object name to avoid name collisions with libraries.
This commit is contained in:
2009-06-06 04:56:22 +00:00
parent b6ea6d65c6
commit 99c0f8dcc0
2 changed files with 25 additions and 16 deletions

View File

@@ -88,6 +88,15 @@ This module provides access to the B{Particle} in Blender.
- Z: set Z axis for offset
"""
def New(object):
"""
Create a new particle system applied to L{object}
@type object: string or L{Blender.Object.Object}
@param name: The name of an existing object.
@rtype: L{Particle}
@return: a new Particle system.
"""
class Particle:
"""
The Particle object