Skip to content
Permalink
Browse files

Enable autocropping for loaded frames, not just new frames

  • Loading branch information...
scribblemaniac committed Apr 15, 2019
1 parent ca3b651 commit e33fabb00e0290d1111742bf4681da84915d5855
Showing with 1 addition and 0 deletions.
  1. +1 −0 core_lib/src/structure/layerbitmap.cpp
@@ -48,6 +48,7 @@ BitmapImage* LayerBitmap::getLastBitmapImageAtFrame(int frameNumber, int increme
void LayerBitmap::loadImageAtFrame(QString path, QPoint topLeft, int frameNumber)
{
BitmapImage* pKeyFrame = new BitmapImage(topLeft, path);
pKeyFrame->enableAutoCrop(true);
pKeyFrame->setPos(frameNumber);
loadKey(pKeyFrame);
}

0 comments on commit e33fabb

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