replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.
added camera.dofDist to the python camera module
This commit is contained in:
@@ -58,6 +58,7 @@ class Camera:
|
||||
cameras.
|
||||
@ivar clipStart: The clip start value in [0.0, 100.0].
|
||||
@ivar clipEnd: The clip end value in [1.0, 5000.0].
|
||||
@ivar dofDist: The dofDist value in [0.0, 5000.0].
|
||||
@ivar drawSize: The draw size value in [0.1, 10.0].
|
||||
@type ipo: Blender Ipo
|
||||
@ivar ipo: The "camera data" ipo linked to this camera data object.
|
||||
@@ -188,6 +189,19 @@ class Camera:
|
||||
@param clipend: The new clip end value.
|
||||
"""
|
||||
|
||||
def getDofDist():
|
||||
"""
|
||||
Get the dofDist value.
|
||||
@rtype: float
|
||||
"""
|
||||
|
||||
def setDofDist(dist):
|
||||
"""
|
||||
Set the dofDist value.
|
||||
@type dist: float
|
||||
@param dist: The new dof distance value.
|
||||
"""
|
||||
|
||||
def getDrawSize():
|
||||
"""
|
||||
Get the draw size value.
|
||||
|
||||
Reference in New Issue
Block a user