fixed: handle rational projection basis

This commit is contained in:
Arne Morten Kvarving 2023-05-23 13:56:31 +02:00
parent 373cdf281e
commit 835384655c

View File

@ -549,7 +549,8 @@ bool ASMu2D::generateFEMTopology ()
if (tensorPrjBas)
{
projBasis.reset(new LR::LRSplineSurface(tensorPrjBas));
projBasis.reset(tensorPrjBas->rational() ? createLRNurbs(*tensorPrjBas)
: new LR::LRSplineSurface(tensorPrjBas));
projBasis->generateIDs();
delete tensorPrjBas;
tensorPrjBas = nullptr;