WIP: SLAPrintObjectConfig, SLAPrint / SLAPrintObject initialization.

This commit is contained in:
bubnikv 2018-11-09 12:02:42 +01:00
parent 06a51f9ed3
commit 870c435e1b
6 changed files with 92 additions and 20 deletions

View file

@ -453,7 +453,7 @@ namespace client
param1.data.d = d;
param1.type = TYPE_DOUBLE;
} else {
int i = 0.;
int i = 0;
switch (fun) {
case FUNCTION_MIN: i = std::min(param1.as_i(), param2.as_i()); break;
case FUNCTION_MAX: i = std::max(param1.as_i(), param2.as_i()); break;