09-09-2020, 03:13 PM
(This post was last modified: 09-09-2020, 03:14 PM by josemendez.)
(09-09-2020, 12:44 PM)tegleg Wrote: im using the latest version, fresh download and project the other day.
i must be missing a step somewhere.
please could you produce a document or a video showing how to do it?
thank you
Hi,
My bad, I was testing using the development version (5.6). There is a small bug in 5.5 that prevents stitch constraints from working the first time they're enabled. The fix is easy:
Open ObiStitcher.cs, then take line 186:
Code:
inSolver = true;
And move it to line 177, at the start of the method. Should look like this:
Code:
if (!inSolver)
{
inSolver = true; // <------
// create a constraint batch (CreateStitchConstraints() in burst returns a singleton):
m_BatchImpl = solver.implementation.CreateStitchConstraints().CreateConstraintsBatch();
// push current data to solver:
PushDataToSolver();
// enable/disable the batch:
m_BatchImpl.enabled = isActiveAndEnabled;
}
The stitcher should work fine now.