mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-23 13:14:19 -04:00
xcf: Initialize layer visible property
https://gitlab.gnome.org/GNOME/gimp/blob/master/devel-docs/xcf.txt says When reading old XCF files that lack this property, assume that layers are visible
This commit is contained in:
@ -87,7 +87,7 @@ private:
|
|||||||
|
|
||||||
bool active; //!< Is this layer the active layer?
|
bool active; //!< Is this layer the active layer?
|
||||||
quint32 opacity; //!< The opacity of the layer
|
quint32 opacity; //!< The opacity of the layer
|
||||||
quint32 visible; //!< Is the layer visible?
|
quint32 visible = 1; //!< Is the layer visible?
|
||||||
quint32 linked; //!< Is this layer linked (geometrically)
|
quint32 linked; //!< Is this layer linked (geometrically)
|
||||||
quint32 preserve_transparency; //!< Preserve alpha when drawing on layer?
|
quint32 preserve_transparency; //!< Preserve alpha when drawing on layer?
|
||||||
quint32 apply_mask; //!< Apply the layer mask?
|
quint32 apply_mask; //!< Apply the layer mask?
|
||||||
|
Reference in New Issue
Block a user