common json: fix for an empty layer used as a mask 35/264235/2 accepted/tizen/unified/20210916.123547 submit/tizen/20210915.070054
authorMichal Maciola <m.maciola@samsung.com>
Tue, 14 Sep 2021 14:51:32 +0000 (16:51 +0200)
committerHermet Park <chuneon.park@samsung.com>
Wed, 15 Sep 2021 02:39:25 +0000 (02:39 +0000)
commit9866997f0d9682dde51036657a92265002713a4e
treec9465094e4abd06946c8ed3f5003cd9b4a4e7299
parentb26ffd780f6ec2cdd913ec9998cf5932bdf3a4c8
common json: fix for an empty layer used as a mask

If a layer is empty, do not use it as a mask, so not to incorrectly completely
hide a parent layer.

Change-Id: Ia48b0b150faa3a1fd44cc79c16facab14ab00564
src/static_libs/vg_common/vg_common_json.c