Added _color copy to the copy constructor

This commit is contained in:
Robert Osfield
2016-10-14 18:00:40 +01:00
parent 4e5f0fc3a5
commit e17ad60c2d

View File

@@ -26,9 +26,10 @@ ShapeDrawable::ShapeDrawable(Shape* shape,TessellationHints* hints):
setShape(shape);
}
ShapeDrawable::ShapeDrawable(const ShapeDrawable& pg,const CopyOp& copyop):
Geometry(pg,copyop),
_tessellationHints(pg._tessellationHints)
ShapeDrawable::ShapeDrawable(const ShapeDrawable& sd,const CopyOp& copyop):
Geometry(sd,copyop),
_color(sd._color),
_tessellationHints(sd._tessellationHints)
{
}