Fix slice feedback when cel origin < (0,0)

This commit is contained in:
David Capello 2017-04-14 13:45:24 -03:00
parent 0c5bccfbdb
commit d4de15bfd7

View File

@ -181,7 +181,9 @@ public:
Ink* clone() override { return new SliceInk(*this); }
bool isSlice() const override { return true; }
bool needsCelCoordinates() const override { return false; }
bool needsCelCoordinates() const override {
return (m_createSlice ? false: true);
}
void prepareInk(ToolLoop* loop) override {
m_proc = get_ink_proc<XorInkProcessing>(loop->sprite()->pixelFormat());