mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-17 05:25:43 +00:00
parent
9a1d169558
commit
222eb2720a
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ struct Text::Impl
|
||||||
|
|
||||||
auto text = Text::gen().release();
|
auto text = Text::gen().release();
|
||||||
auto dup = text->pImpl;
|
auto dup = text->pImpl;
|
||||||
dup->shape = static_cast<Shape*>(shape->duplicate());
|
static_cast<Shape*>(P(shape)->duplicate(dup->shape));
|
||||||
|
|
||||||
if (loader) {
|
if (loader) {
|
||||||
dup->loader = loader;
|
dup->loader = loader;
|
||||||
|
|
Loading…
Add table
Reference in a new issue