Python API
---------- Add optional string argument to Object.newParticleSystem() method, so that objects can link to existing particle systems (if the name of the particle system is known). Also cleans up some code in Object.c which accesses the particle sys listbase.
This commit is contained in:
@@ -656,9 +656,13 @@ class Object:
|
||||
Return a list of particle systems linked to this object (see Blender.Particle).
|
||||
"""
|
||||
|
||||
def newParticleSystem():
|
||||
def newParticleSystem(name = None):
|
||||
"""
|
||||
Link a new particle system (see Blender.Particle).
|
||||
Link a particle system (see Blender.Particle). If no name is
|
||||
given, a new particle system is created. If a name is given and a
|
||||
particle system with that name exists, it is linked to the object.
|
||||
@type name: string
|
||||
@param name: The name of the requested Particle system (optional).
|
||||
"""
|
||||
|
||||
def addVertexGroupsFromArmature(object):
|
||||
|
||||
Reference in New Issue
Block a user