[Bf-python] API style clarification
Ken Hughes
khughes at pacific.edu
Sun Dec 24 17:22:29 CET 2006
Campbell Barton wrote:
> campbellbarton (Campbell Barton) 2006/12/24 04:25:53 CET
>
> Modified files:
> blender/source/blender/python/api2_2x/doc Camera.py
>
> Log:
> added camera.dofDist to the python camera module
Was looking over this commit and say Cam added a .dofDist attribute and
getDofDist()/setDofDist(). What's the "policy" on attributes vs
methods? I've only been adding methods when they aren't simple enough
to be getseters (i.e, multiple parameters, etc).
I'm not trying to critisize Cam's commit; I was thinking maybe I've been
wrong by not commiting get()/set() methods when I should be.
Ken
More information about the Bf-python
mailing list