mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
WIP: SLAPrintObjectConfig, SLAPrint / SLAPrintObject initialization.
This commit is contained in:
parent
06a51f9ed3
commit
870c435e1b
6 changed files with 92 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue