patxu / ClimbAR

augmented reality climbing game framework
MIT License
10 stars 6 forks source link

Different error message for 0 holds vs -1 holds #275

Closed db2882 closed 7 years ago

db2882 commented 7 years ago

Currently c++ code returns holds[0] equal to -1 if there is an error. C# code checks if holds[0] < 1 and reports an error in classifier if so. We want to differentiate between a return code of -1 (an exception in c++ code) vs return code of 0 (no holds found)

olykos commented 7 years ago

Fixed with #286