mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 16:20:50 +00:00
Remove unused variables
This commit is contained in:
parent
1d8939be8a
commit
6dad428928
@ -51,7 +51,6 @@ namespace cmd {
|
||||
}
|
||||
|
||||
private:
|
||||
frame_t m_frame;
|
||||
std::stringstream m_stream;
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,6 @@ namespace cmd {
|
||||
private:
|
||||
frame_t m_fromFrame;
|
||||
frame_t m_newFrame;
|
||||
bool m_firstTime;
|
||||
};
|
||||
|
||||
} // namespace cmd
|
||||
|
@ -65,8 +65,6 @@ void MaskContentCommand::onExecute(Context* context)
|
||||
{
|
||||
ContextWriter writer(context);
|
||||
Document* document(writer.document());
|
||||
Sprite* sprite(writer.sprite());
|
||||
Layer* layer = writer.layer();
|
||||
Cel* cel = writer.cel(); // Get current cel (can be NULL)
|
||||
if (!cel)
|
||||
return;
|
||||
|
@ -34,7 +34,6 @@ using namespace doc;
|
||||
|
||||
Transaction::Transaction(Context* ctx, const std::string& label, Modification modification)
|
||||
: m_ctx(ctx)
|
||||
, m_modification(modification)
|
||||
, m_cmds(NULL)
|
||||
{
|
||||
DocumentLocation location = m_ctx->activeLocation();
|
||||
|
@ -73,7 +73,6 @@ namespace app {
|
||||
Context* m_ctx;
|
||||
DocumentUndo* m_undo;
|
||||
CmdTransaction* m_cmds;
|
||||
Modification m_modification;
|
||||
};
|
||||
|
||||
} // namespace app
|
||||
|
@ -415,10 +415,6 @@ void Render::renderLayer(
|
||||
if (!scaled_func)
|
||||
return;
|
||||
|
||||
const LayerImage* background = m_sprite->backgroundLayer();
|
||||
bool need_checked_bg = (background != NULL ? !background->isVisible(): true);
|
||||
color_t bg_color = 0;
|
||||
|
||||
m_globalOpacity = 255;
|
||||
renderLayer(layer, dstImage, area,
|
||||
frame, Zoom(1, 1), scaled_func,
|
||||
|
Loading…
x
Reference in New Issue
Block a user