Commit 2bceb7b7 authored by Sergey Luzyanin's avatar Sergey Luzyanin

drawing ole-objects

parent a9a7134d
......@@ -575,7 +575,7 @@ CImageShape.prototype.draw = function(graphics, transform)
graphics.SetIntegerGrid(false);
graphics.transform3(_transform, false);
var shape_drawer = new AscCommon.CShapeDrawer();
if(this.pen || this.brush)
if(this.getObjectType() !== AscDFH.historyitem_type_OleObject && (this.pen || this.brush))
{
shape_drawer.fromShape2(this, graphics, this.spPr.geometry);
shape_drawer.draw(this.spPr.geometry);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment