[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15740] trunk/blender/source/blender/ python/api2_2x/doc/IDProp.py: added note to epydocs explaining the nature of floats in id properties from the python point of view

Joseph Eagar joeedh at gmail.com
Thu Jul 24 21:34:49 CEST 2008


Revision: 15740
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15740
Author:   joeedh
Date:     2008-07-24 21:34:49 +0200 (Thu, 24 Jul 2008)

Log Message:
-----------
added note to epydocs explaining the nature of floats in id properties from the python point of view

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/doc/IDProp.py

Modified: trunk/blender/source/blender/python/api2_2x/doc/IDProp.py
===================================================================
--- trunk/blender/source/blender/python/api2_2x/doc/IDProp.py	2008-07-24 19:22:17 UTC (rev 15739)
+++ trunk/blender/source/blender/python/api2_2x/doc/IDProp.py	2008-07-24 19:34:49 UTC (rev 15740)
@@ -18,7 +18,9 @@
 	
 	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:
 	





More information about the Bf-blender-cvs mailing list