Here are the changes :
- Added : GetInfo(23) Give the context of execution where function are called.
- Fixed : GetInfo(22) Now return the right script number when Voxel_Unload() is issued at program change.
- Fixed : PickVoxel3D() should work correctly now.
- Added : GetInfo(24) Give the number of slot of the robot inventory.
- Added : Started an internal squirrel test program for better detecting some regressions and little bugs.
Values for GetInfo(23) :
0: Creation. The robot has been created. State can be found with : Voxel_Load().
1: Destruction. Robot is about to be destroyed. State can be found with : Voxel_Unload().
2: Normal Step. The robot is doing normal step operation. State can be found with : Voxel_Step().
3: Serialization. The robot is in loading/saving operation. State can be found with : Voxel_Load() (Means Loading) and Voxel_Unload() (Means saving).
4: Program Change. The program is changed in the interface. Voxel_Load() and Voxel_Unload()