Added a note in the object docs about object data and editmode

removed mirror_bone_weights, as it was a double another script, contacted the author and hes ok with it.
This commit is contained in:
2006-07-26 00:41:52 +00:00
parent e7263b0c66
commit c4429fb796
2 changed files with 2 additions and 220 deletions

View File

@@ -389,13 +389,13 @@ class Object:
def getData(name_only=False, mesh=False):
"""
Returns the Datablock object (Mesh, Lamp, Camera, etc.) linked to this
Object.
Returns the Datablock object (Mesh, Lamp, Camera, etc.) linked to this Object.
If the keyword parameter 'name_only' is True, only the Datablock
name is returned as a string. It the object is of type Mesh, then the
'mesh' keyword can also be used; if True the data return is a Mesh object,
otherwise it is an NMesh object (the default).
Using the mesh keyword is ignored for non mesh objects.
@note: Make sure the object your getting the data from isnt in EditMode before calling this function otherwise youll get the data before entering EditMode. see L{Window.EditMode}
@type name_only: bool
@param name_only: This is a keyword parameter. If True (or nonzero),
only the name of the data object is returned.