mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -04:00
xcf: initialize layer opacity
https://gitlab.gnome.org/GNOME/gimp/raw/master/devel-docs/xcf.txt When reading old XCF files that lack this property, full opacity should be assumed.
This commit is contained in:
parent
d6ae11a691
commit
311296dd19
@ -88,7 +88,7 @@ private:
|
||||
} mask_channel;
|
||||
|
||||
bool active; //!< Is this layer the active layer?
|
||||
quint32 opacity; //!< The opacity of the layer
|
||||
quint32 opacity = 255; //!< The opacity of the layer
|
||||
quint32 visible = 1; //!< Is the layer visible?
|
||||
quint32 linked; //!< Is this layer linked (geometrically)
|
||||
quint32 preserve_transparency; //!< Preserve alpha when drawing on layer?
|
||||
|
Loading…
x
Reference in New Issue
Block a user