mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fixing error with sla array indexing
This commit is contained in:
@@ -1411,10 +1411,11 @@ public:
|
|||||||
using libnest2d::opt::GeneticOptimizer;
|
using libnest2d::opt::GeneticOptimizer;
|
||||||
using libnest2d::opt::StopCriteria;
|
using libnest2d::opt::StopCriteria;
|
||||||
|
|
||||||
for(unsigned i = 0, fidx = filtered_indices[0];
|
for(unsigned i = 0, fidx = 0; i < filtered_indices.size(); ++i)
|
||||||
i < filtered_indices.size(); ++i, fidx = filtered_indices[i])
|
|
||||||
{
|
{
|
||||||
m_thr();
|
m_thr();
|
||||||
|
|
||||||
|
fidx = filtered_indices[i];
|
||||||
auto n = nmls.row(i);
|
auto n = nmls.row(i);
|
||||||
|
|
||||||
// for all normals we generate the spherical coordinates and
|
// for all normals we generate the spherical coordinates and
|
||||||
|
|||||||
Reference in New Issue
Block a user