From 056ff5e314d16aa03ccb990f420697e4f3b857ed Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Mar 2007 08:33:31 +0000 Subject: [PATCH] corrected text for mesh.rename*Layer and added note for mesh.active*Layer --- source/blender/python/api2_2x/doc/Mesh.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/blender/python/api2_2x/doc/Mesh.py b/source/blender/python/api2_2x/doc/Mesh.py index 145905bf4d0..888a87cc47a 100644 --- a/source/blender/python/api2_2x/doc/Mesh.py +++ b/source/blender/python/api2_2x/doc/Mesh.py @@ -768,12 +768,14 @@ class Mesh: @type texMesh: Mesh or None @ivar key: The L{Key} object containing the keyframes for this mesh, if any. @type key: Key or None - @ivar activeUVLayer: The mesh's active UV/Image layer. None if there is no UV/Image layers. + + B{Note}: After setting this value, call L{update} so the result can be seen the the 3d view. @type activeUVLayer: string @ivar activeColorLayer: The mesh's active Vertex Color layer. None if there is no UV/Image layers. - @type activeColorLayer: string + B{Note}: After setting this value, call L{update} so the result can be seen the the 3d view. + @type activeColorLayer: string @ivar multires: The mesh has multires data, set True to add multires data. Will throw an exception if the mesh has shape keys; use L{key} to test. @type multires: bool @@ -1085,7 +1087,7 @@ class Mesh: def renameUVLayer(name, newname): """ - Removes the active UV/Image layer. + Renames the UV layer called name to newname. @type name: string @param name: The UV layer to rename. @type newname: string @@ -1094,7 +1096,7 @@ class Mesh: def renameColorLayer(name, newname): """ - Removes the active Vertex Color layer. + Renames the color layer called name to newname. @type name: string @param name: The Color layer to rename. @type newname: string