diff options
author | Joseph Eagar <joeedh@gmail.com> | 2008-07-24 23:34:49 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2008-07-24 23:34:49 +0400 |
commit | bbd636df1332e468422230dcfe9108115d903365 (patch) | |
tree | 0a78fc7d91091c0bafe5d6695e50bb0c81e77314 /source/blender/python/api2_2x/doc | |
parent | 0118a8237979c42e4d748ce79a8048c4b9382d17 (diff) |
added note to epydocs explaining the nature of floats in id properties from the python point of view
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/IDProp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/IDProp.py b/source/blender/python/api2_2x/doc/IDProp.py index 0a0df335fa3..01d5136cd70 100644 --- a/source/blender/python/api2_2x/doc/IDProp.py +++ b/source/blender/python/api2_2x/doc/IDProp.py @@ -18,7 +18,9 @@ class IDGroup: Note that for arrays, the array type defaults to int unless a float is found while scanning the template list; if any floats are found, then the whole - array is float. + array is float. Note that double-precision floating point numbers are used for + python-created float ID properties and arrays (though the internal C api does + support single-precision floats, and the python code will read them). You can also delete properties with the del operator. For example: |