- property sensor was converting floating point values to text then back to float...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 10 Nov 2012 22:32:15 +0000 (22:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 10 Nov 2012 22:32:15 +0000 (22:32 +0000)
commit67b74f96daa98809d5f9a348adfcd561f5f54f07
tree55a59e2defe174187efc29c87a6717b479caa283
parent1ca4670267c3709d1c233264012882b4c0902748
- property sensor was converting floating point values to text then back to float - for floating point properties.
- IntValue's GetNumber() was convert int -> float -> double.
- BL_Shader was using STR_String rather then char*, where most callers had a char*, use a char* to avoid STR_String conversion-and-alloc on shader access.
source/gameengine/Expressions/IntValue.cpp
source/gameengine/GameLogic/SCA_PropertySensor.cpp
source/gameengine/Ketsji/BL_Shader.cpp
source/gameengine/Ketsji/BL_Shader.h