[Bf-python] Attribute casing
Yehoshua Sapir
yasapir at gmail.com
Fri Jul 29 10:12:16 CEST 2005
How should attributes be cased?
For my MTex patch
(https://projects.blender.org/tracker/index.php?func=detail&aid=2869&group_id=9&atid=127)
I have for example the following:
mtex.colfac (factor for color mixing)
mtex.correctNor (the "correct nor" button)
mtex.mtCol (mapto "Col" button)
Some thoughts:
- I remember reading somewhere on the wiki that to conform to Python,
everything should be cased like "correctNor".
- colFac looks odd and is slightly harder to type than colfac. Perhaps
it should be named "colFactor" or something like that anyway?
More information about the Bf-python
mailing list