Hello,
This allocation with HasAnyKey(), has already been fixed in version 1.6.0.
If you want to continue using version 1.4.0 though, you can fix it simply by replacing the method with this code:
1
2
3
4
5
6
7
8
9
10
11
///Are there any keys at all?
publicboolHasAnyKey(){
for(vari=0;i<curves.Length;i++){
if(curves[i].length>0){
returntrue;
}
}
returnfalse;
}
The difference here, is checking curves[i].length instead of curves[i].keys.Length 🙂
Cheers!