diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp index f55ced3..3400660 100644 --- a/src/imageformats/xcf.cpp +++ b/src/imageformats/xcf.cpp @@ -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?