projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve the rendering of curvegradient layers near vertices with zero-length tangents...
[synfig.git]
/
ETL
/
trunk
/
ETL
/
_bezier.h
diff --git
a/ETL/trunk/ETL/_bezier.h
b/ETL/trunk/ETL/_bezier.h
index
a08a42b
..
70dfe99
100644
(file)
--- a/
ETL/trunk/ETL/_bezier.h
+++ b/
ETL/trunk/ETL/_bezier.h
@@
-553,8
+553,7
@@
public:
bezier<V,T>::operator[](1),
bezier<V,T>::operator[](2),
bezier<V,T>::operator[](3)};
- float t = NearestPointOnCurve(x, array);
- return t > 0.999999 ? 0.999999 : t < 0.000001 ? 0.000001 : t;
+ return NearestPointOnCurve(x, array);
}
else
{