Fix accidental internal bean access to #segments.

This commit is contained in:
Jürg Lehni 2011-05-15 19:58:29 +01:00
parent ebdf5a2dfd
commit ef0347a6bc

View file

@ -671,7 +671,7 @@ var Item = this.Item = Base.extend({
// fill.
if (item.blendMode !== 'normal'
|| item.opacity < 1
&& !(item.segments && (!item.getFillColor()
&& !(item._segments && (!item.getFillColor()
|| !item.getStrokeColor()))) {
var bounds = item.getStrokeBounds() || item.getBounds();
if (!bounds.width || !bounds.height)