Skip to content
Browse files

Fix autocrop being disabled in duplicate frames

Because mEnableAutoCrop was not getting copied on frame
duplication, some frames were not being cropped properly.

As far as I can tell this constructor is only used for duplicating
frames, temporary bitmaps use paste or copy, so this should not
impact temporary image performance at all.
  • Loading branch information...
scribblemaniac committed Feb 4, 2019
1 parent 9e6fe55 commit b1064ab8fd1748862c27dfd5c22464d470cfd05f
Showing with 1 addition and 0 deletions.
  1. +1 −0 core_lib/src/graphics/bitmap/bitmapimage.cpp
@@ -32,6 +32,7 @@ BitmapImage::BitmapImage(const BitmapImage& a) : KeyFrame(a)
mBounds = a.mBounds;
mMinBound = a.mMinBound;
mEnableAutoCrop = a.mEnableAutoCrop;
mImage = std::make_shared<QImage>(*a.mImage);

0 comments on commit b1064ab

Please sign in to comment.
You can’t perform that action at this time.