Fix related to #33340: add a warning to bge from_id documentation to not store id()

in game object integer properties since it may not fit in 32 bits integers.
This commit is contained in:
Brecht Van Lommel
2012-11-29 01:25:38 +00:00
parent 0d6976ad0c
commit c3e1813820

View File

@@ -759,6 +759,10 @@ Types
The id is derived from a memory location and will be different each time the game engine starts.
.. warning::
The id can't be stored as an integer in game object properties, as those only have a limited range that the id may not be contained in. Instead an id can be stored as a string game property and converted back to an integer for use in from_id lookups.
.. class:: KX_BlenderMaterial(PyObjectPlus)
KX_BlenderMaterial