Python API
---------- Fix typo in Constraint API examples
This commit is contained in:
@@ -15,7 +15,7 @@ Examples::
|
|||||||
if len(ob.constraints) > 0:
|
if len(ob.constraints) > 0:
|
||||||
const = ob.constraints[0]
|
const = ob.constraints[0]
|
||||||
if const.type == Constraint.Type.FLOOR:
|
if const.type == Constraint.Type.FLOOR:
|
||||||
offs = const[Constrint.Settings.OFFSET]
|
offs = const[Constraint.Settings.OFFSET]
|
||||||
|
|
||||||
Or to print all the constraints attached to each bone in a pose::
|
Or to print all the constraints attached to each bone in a pose::
|
||||||
from Blender import *
|
from Blender import *
|
||||||
|
|||||||
Reference in New Issue
Block a user