Added function RNA_property_update_check() to check if an update call is needed,
authorCampbell Barton <ideasman42@gmail.com>
Mon, 25 Oct 2010 21:57:45 +0000 (21:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 25 Oct 2010 21:57:45 +0000 (21:57 +0000)
commit29605fc06ddd8fb9a5d80df1389a0cbfb150c9b9
tree1d951c993e2e31732feaa84263f9c31204173072
parent82fd7f21fc36e44f5948f2aacabc10aaa36250c7
Added function RNA_property_update_check() to check if an update call is needed,
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed.

This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_access.c
source/blender/python/intern/bpy_rna.c
source/gameengine/BlenderRoutines/CMakeLists.txt
source/gameengine/Converter/CMakeLists.txt
source/gameengine/GamePlayer/common/CMakeLists.txt
source/gameengine/GamePlayer/ghost/CMakeLists.txt
source/gameengine/Ketsji/CMakeLists.txt
source/gameengine/Physics/common/CMakeLists.txt
source/gameengine/VideoTexture/CMakeLists.txt