summaryrefslogtreecommitdiffstats
path: root/src/sp-mesh-array.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-12 21:25:39 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-12 21:25:39 +0000
commiteab1eef70ec00e5048b522b6c7f4189615caac87 (patch)
tree4d8d574ad9741174e0d99077f234fd41231b08e7 /src/sp-mesh-array.cpp
parentfix bsplines (diff)
parentFix crash with experimental lpe tool. (diff)
downloadinkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.tar.gz
inkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.zip
Update to trunk
(bzr r11950.1.180)
Diffstat (limited to 'src/sp-mesh-array.cpp')
-rw-r--r--src/sp-mesh-array.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-mesh-array.cpp b/src/sp-mesh-array.cpp
index 2c3c7fa65..5a204e8b0 100644
--- a/src/sp-mesh-array.cpp
+++ b/src/sp-mesh-array.cpp
@@ -1058,9 +1058,9 @@ void SPMeshNodeArray::create( SPMeshGradient *mg, SPItem *item, Geom::OptRect bb
end = start + 2.0 * M_PI;
}
- if ( SP_IS_ARC( item ) ) {
+ if ( SP_IS_GENERICELLIPSE( item ) ) {
// For arcs use set start/stop
- SPArc* arc = SP_ARC( item );
+ SPGenericEllipse* arc = SP_GENERICELLIPSE( item );
center[Geom::X] = arc->cx.computed;
center[Geom::Y] = arc->cy.computed;
rx = arc->rx.computed;
@@ -1130,11 +1130,11 @@ void SPMeshNodeArray::create( SPMeshGradient *mg, SPItem *item, Geom::OptRect bb
// Normal grid meshes
- if( SP_IS_ARC( item ) ) {
+ if( SP_IS_GENERICELLIPSE( item ) ) {
// std::cout << "We've got ourselves an arc!" << std::endl;
- SPArc* arc = SP_ARC( item );
+ SPGenericEllipse* arc = SP_GENERICELLIPSE( item );
center[Geom::X] = arc->cx.computed;
center[Geom::Y] = arc->cy.computed;
gdouble rx = arc->rx.computed;