summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-08-01 09:04:51 +0000
committertavmjong-free <tavmjong@free.fr>2014-08-01 09:04:51 +0000
commit97a4ef4fd8b0c841a90f3bb29dee13fd96edecb7 (patch)
treec88c8e7ef5b19447167bce4c8e5f590e27722a25 /src/sp-item.cpp
parentBasic support for <solidColor> element (rendering only as a paint server). (diff)
downloadinkscape-97a4ef4fd8b0c841a90f3bb29dee13fd96edecb7.tar.gz
inkscape-97a4ef4fd8b0c841a90f3bb29dee13fd96edecb7.zip
Rename 'blend-mode' property to 'mix-blend-mode' per CSS spec.
(bzr r13485)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index a3f1a5d64..6c2ada9d7 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -602,7 +602,7 @@ void SPItem::update(SPCtx* /*ctx*/, guint flags) {
v->arenaitem->setOpacity(SP_SCALE24_TO_FLOAT(object->style->opacity.value));
v->arenaitem->setAntialiasing(object->style->shape_rendering.computed != SP_CSS_SHAPE_RENDERING_CRISPEDGES);
v->arenaitem->setIsolation( object->style->isolation.value );
- v->arenaitem->setBlendMode( object->style->blend_mode.value );
+ v->arenaitem->setBlendMode( object->style->mix_blend_mode.value );
v->arenaitem->setVisible(!item->isHidden());
}
}
@@ -1028,7 +1028,7 @@ Inkscape::DrawingItem *SPItem::invoke_show(Inkscape::Drawing &drawing, unsigned
ai->setTransform(transform);
ai->setOpacity(SP_SCALE24_TO_FLOAT(style->opacity.value));
ai->setIsolation( style->isolation.value );
- ai->setBlendMode( style->blend_mode.value );
+ ai->setBlendMode( style->mix_blend_mode.value );
//ai->setCompositeOperator( style->composite_op.value );
ai->setVisible(!isHidden());
ai->setSensitive(sensitive);