projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027048: BSpline cache is always wrong outside of surface
[occt.git]
/
src
/
GeomAdaptor
/
GeomAdaptor_Curve.cxx
diff --git
a/src/GeomAdaptor/GeomAdaptor_Curve.cxx
b/src/GeomAdaptor/GeomAdaptor_Curve.cxx
index
39647ad
..
ddd5996
100644
(file)
--- a/
src/GeomAdaptor/GeomAdaptor_Curve.cxx
+++ b/
src/GeomAdaptor/GeomAdaptor_Curve.cxx
@@
-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.