weightpaint_envelope_assign - was making an error checking a null vgroup
API_intro - changed URL from elysuin others - added __copy__() docs.
This commit is contained in:
@@ -141,7 +141,7 @@ def env_from_group(ob_act, grp, PREF_UPDATE_ACT=True):
|
|||||||
|
|
||||||
if PREF_UPDATE_ACT:
|
if PREF_UPDATE_ACT:
|
||||||
act_group = me.activeGroup
|
act_group = me.activeGroup
|
||||||
if act_group == 'None':
|
if act_group == None:
|
||||||
Draw.PupMenu('Error%t|No active vertex group.')
|
Draw.PupMenu('Error%t|No active vertex group.')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ The Blender Python API Reference
|
|||||||
- L{Mathutils} (*)
|
- L{Mathutils} (*)
|
||||||
- L{Mesh} (*)
|
- L{Mesh} (*)
|
||||||
- L{MeshPrimitives} (*)
|
- L{MeshPrimitives} (*)
|
||||||
- L{Metaball}
|
- L{Metaball} (*)
|
||||||
- L{Modifier} (*)
|
|
||||||
- L{NMesh} (*)
|
- L{NMesh} (*)
|
||||||
- L{Noise}
|
- L{Noise}
|
||||||
- L{Object} (*)
|
- L{Object} (*)
|
||||||
|
- L{Modifier} (*)
|
||||||
- L{Pose}
|
- L{Pose}
|
||||||
- L{Constraint} (*)
|
- L{Constraint} (*)
|
||||||
- L{ActionStrips<NLA>} (*)
|
- L{ActionStrips<NLA>} (*)
|
||||||
@@ -226,7 +226,7 @@ A note to newbie script writers:
|
|||||||
@version: 2.42
|
@version: 2.42
|
||||||
@see: U{www.blender3d.org<http://www.blender3d.org>}: main site
|
@see: U{www.blender3d.org<http://www.blender3d.org>}: main site
|
||||||
@see: U{www.blender.org<http://www.blender.org>}: documentation and forum
|
@see: U{www.blender.org<http://www.blender.org>}: documentation and forum
|
||||||
@see: U{www.elysiun.com<http://www.elysiun.com>}: user forum
|
@see: U{blenderartists.org<http://blenderartists.org>}: user forum
|
||||||
@see: U{projects.blender.org<http://projects.blender.org>}
|
@see: U{projects.blender.org<http://projects.blender.org>}
|
||||||
@see: U{blender architecture<http://www.blender3d.org/cms/Blender_Architecture.336.0.html>}: blender architecture document
|
@see: U{blender architecture<http://www.blender3d.org/cms/Blender_Architecture.336.0.html>}: blender architecture document
|
||||||
@see: U{www.python.org<http://www.python.org>}
|
@see: U{www.python.org<http://www.python.org>}
|
||||||
|
|||||||
@@ -247,3 +247,10 @@ class Camera:
|
|||||||
-CLIPPING
|
-CLIPPING
|
||||||
@return: py_none
|
@return: py_none
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this camera
|
||||||
|
@rtype: Camera
|
||||||
|
@return: a copy of this camera
|
||||||
|
"""
|
||||||
@@ -489,6 +489,12 @@ class Curve:
|
|||||||
@rtype: L{Key<Key.Key>} object or None
|
@rtype: L{Key<Key.Key>} object or None
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this curve
|
||||||
|
@rtype: Curve
|
||||||
|
@return: a copy of this curve
|
||||||
|
"""
|
||||||
|
|
||||||
class CurNurb:
|
class CurNurb:
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -122,3 +122,9 @@ class Group:
|
|||||||
@type objects: custom object sequence
|
@type objects: custom object sequence
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this group
|
||||||
|
@rtype: Group
|
||||||
|
@return: a copy of this group
|
||||||
|
"""
|
||||||
@@ -513,3 +513,10 @@ class Lamp:
|
|||||||
-SIZE
|
-SIZE
|
||||||
@return: py_none
|
@return: py_none
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this lamp
|
||||||
|
@rtype: Lamp
|
||||||
|
@return: a copy of this lamp
|
||||||
|
"""
|
||||||
@@ -202,5 +202,11 @@ class Lattice:
|
|||||||
@param frame: the frame at which the Lattice will be set as a keyframe
|
@param frame: the frame at which the Lattice will be set as a keyframe
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this lattice
|
||||||
|
@rtype: Lattice
|
||||||
|
@return: a copy of this lattice
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -993,3 +993,10 @@ class Material:
|
|||||||
@type event: string
|
@type event: string
|
||||||
@param event: "FrameChanged" or "Redraw".
|
@param event: "FrameChanged" or "Redraw".
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this material
|
||||||
|
@rtype: Material
|
||||||
|
@return: a copy of this material
|
||||||
|
"""
|
||||||
@@ -1167,3 +1167,10 @@ class Mesh:
|
|||||||
@param direction: specifies outward (0) or inward (1) normals. Outward
|
@param direction: specifies outward (0) or inward (1) normals. Outward
|
||||||
is the default. Value must be in the range [0,1].
|
is the default. Value must be in the range [0,1].
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this mesh
|
||||||
|
@rtype: Mesh
|
||||||
|
@return: a copy of this mesh
|
||||||
|
"""
|
||||||
@@ -154,7 +154,7 @@ class Metaball:
|
|||||||
@type materials: list
|
@type materials: list
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def copy():
|
def __copy__():
|
||||||
"""
|
"""
|
||||||
Return a copy of this metaball object data.
|
Return a copy of this metaball object data.
|
||||||
@rtype: Metaball
|
@rtype: Metaball
|
||||||
|
|||||||
@@ -1795,11 +1795,18 @@ class Property:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def copyNLA(obj):
|
def copyNLA(obj):
|
||||||
"""
|
"""
|
||||||
Copies all NLA strips from another object to this object.
|
Copies all NLA strips from another object to this object.
|
||||||
@param obj: an object to copy NLA strips from.
|
@param obj: an object to copy NLA strips from.
|
||||||
@type obj: L{Object}
|
@type obj: L{Object}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this object
|
||||||
|
@rtype: Object
|
||||||
|
@return: a copy of this object
|
||||||
|
"""
|
||||||
|
|
||||||
def convertActionToStrip():
|
def convertActionToStrip():
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -340,3 +340,10 @@ class World:
|
|||||||
-SIZE
|
-SIZE
|
||||||
@return: py_none
|
@return: py_none
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __copy__ ():
|
||||||
|
"""
|
||||||
|
Make a copy of this world
|
||||||
|
@rtype: World
|
||||||
|
@return: a copy of this world
|
||||||
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user