From bbd636df1332e468422230dcfe9108115d903365 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Thu, 24 Jul 2008 19:34:49 +0000 Subject: [PATCH] added note to epydocs explaining the nature of floats in id properties from the python point of view --- source/blender/python/api2_2x/doc/IDProp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: