Skip to content

Commit a8d81f1

Browse files
committed
Adjust distance between the two models
NP-1172
1 parent b23997e commit a8d81f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnest2d_js/libnest2d_js.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ResultAndItem nestWrapper(const ItemList& jsItems, const Box& bin, double scaleF
5454
NestConfig<> cfg;
5555
cfg.placer_config.rotations = { 0 };
5656

57-
size_t result = nest(items, bin, scaleFactor * 5, cfg);
57+
size_t result = nest(items, bin, scaleFactor, cfg);
5858

5959
emscripten::val jsItemsResult = emscripten::val::array();
6060
// Copy results back to original JavaScript items

0 commit comments

Comments
 (0)