Mercurial > hg > orthanc-stone
diff Framework/Scene2D/TextSceneLayer.cpp @ 860:238693c3bc51 am-dev
merge default -> am-dev
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 24 Jun 2019 14:35:00 +0200 |
parents | 61ba4b504e9a |
children | 32eaf4929b08 |
line wrap: on
line diff
--- a/Framework/Scene2D/TextSceneLayer.cpp Wed Jun 19 17:36:33 2019 +0200 +++ b/Framework/Scene2D/TextSceneLayer.cpp Mon Jun 24 14:35:00 2019 +0200 @@ -37,7 +37,7 @@ ISceneLayer* TextSceneLayer::Clone() const { std::auto_ptr<TextSceneLayer> cloned(new TextSceneLayer); - cloned->SetColor(GetRed(), GetGreen(), GetBlue()); + cloned->SetColor(GetColor()); cloned->x_ = x_; cloned->y_ = y_; cloned->utf8_ = utf8_;