IFSSaver: remove fBounds variable

This commit is contained in:
John Scipione
2014-05-15 17:41:45 -04:00
parent 664720405e
commit da679effb4
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -47,7 +47,6 @@ IFSSaver::IFSSaver(BMessage* message, image_id id)
BHandler("IFS Saver"),
fIFS(NULL),
fIsPreview(false),
fBounds(0.0f, 0.0f, -1.0f, -1.0f),
fLastDrawnFrame(0),
fAdditive(false),
fSpeed(6)
@@ -157,11 +156,7 @@ IFSSaver::StartSaver(BView* view, bool preview)
if (view == NULL)
return B_BAD_VALUE;
fBounds = view->Bounds();
if (!fBounds.IsValid())
return B_BAD_VALUE;
_Init(fBounds);
_Init(view->Bounds());
if (fIFS == NULL)
return B_ERROR;
-1
View File
@@ -38,7 +38,6 @@ private:
IFS* fIFS;
bool fIsPreview;
BRect fBounds;
BLocker fLocker;