evas vg shape: gradient taken from the proper source 88/266588/4
authorMira Grudzinska <m.grudzinska@samsung.com>
Tue, 16 Nov 2021 01:13:49 +0000 (02:13 +0100)
committerjunsu choi <jsuya.choi@samsung.com>
Fri, 19 Nov 2021 08:42:04 +0000 (08:42 +0000)
commit634eed99ae10b433c7f17407caca6238ced213a7
tree448fe47b78c1c37ba7375108cd881622f8c64e1d
parent1048977bcc8b217ade1c842507334b80a57161b7
evas vg shape: gradient taken from the proper source

When a shape with the gradient is duplicated, the gradient
adr was taken from the source obj instead of from the target
of the duplication.
In TVG, when a shape is duplicated all its properties, like grad,
are duplicated as well. EFL created independently a new gradient,
which has to be relased first and replaced by the one created
in TVG.

Change-Id: I0848b0591671b6e69148b0d248a0ba0c8bd66726
src/lib/evas/canvas/efl_canvas_vg_shape.c