Fix for Bug 1039

Changed doc to match the parameters for Ipo New() method.
Corrected error message for expected argument types in New() method.
This commit is contained in:
Stephen Swaney
2004-03-05 06:25:49 +00:00
parent db9f9215cf
commit 83804a7173
2 changed files with 6 additions and 5 deletions

View File

@@ -18,13 +18,14 @@ Example::
"""
def New (name,idcode):
def New (type, name):
"""
Creates a new Ipo.
@type type: string
@type name: string
@type idcode: int
@param name: The Ipo's name
@param idcode: The Ipo's blocktype. Depends to the object the ipo will be linked.
@param type: The Ipo's blocktype. Depends on the object the ipo will be linked to. \
Currently supported types are Object, Camera, World, Material.
@param name: The name for this Ipo.
@rtype: Blender Ipo
@return: The created Ipo.
"""