fix for mistake in api changelog script with function names.

This commit is contained in:
Campbell Barton
2011-10-02 23:53:41 +00:00
parent a80520804a
commit 78968a0fc9
2 changed files with 3 additions and 3 deletions

View File

@@ -919,7 +919,7 @@ bpy.types.Scene
Function Arguments
^^^^^^^^^^^^^^^^^^
* :class:`bpy.types.Scene.fh_damping` (filepath, selected), *was (filepath)*
* :class:`bpy.types.Scene.collada_export` (filepath, selected), *was (filepath)*
bpy.types.MultiresModifier
--------------------------
@@ -985,7 +985,7 @@ bpy.types.IDMaterials
Function Arguments
^^^^^^^^^^^^^^^^^^
* :class:`bpy.types.IDMaterials.ndof_rotate_speed` (index, update_data), *was (index)*
* :class:`bpy.types.IDMaterials.pop` (index, update_data), *was (index)*
bpy.types.Material
------------------

View File

@@ -302,7 +302,7 @@ def api_changelog(api_from, api_to, api_out):
for func_id, args_old, args_new in func_args:
args_new = ", ".join(args_new)
args_old = ", ".join(args_old)
fw("* :class:`%s.%s.%s` (%s), *was (%s)*\n" % (mod_id, class_name, prop_id, args_new, args_old))
fw("* :class:`%s.%s.%s` (%s), *was (%s)*\n" % (mod_id, class_name, func_id, args_new, args_old))
fw("\n")
fout.close()