0027048: BSpline cache is always wrong outside of surface
[occt.git] / src / GeomAdaptor / GeomAdaptor_Curve.cxx
index 39647ad..ddd5996 100644 (file)
@@ -194,7 +194,9 @@ void GeomAdaptor_Curve::load(const Handle(Geom_Curve)& C,
       myTypeCurve = GeomAbs_OtherCurve;
     }
   }
-}  
+  else // rebuild cache of Bezier and B-spline curve even if the loaded curve is same
+    RebuildCache(myFirst);
+}
 
 //    --
 //    --     Global methods - Apply to the whole curve.