Comment the ASSERT in MovingPixelsState() because quick tools can make it fail.

This commit is contained in:
David Capello 2012-01-07 18:52:42 -03:00
parent 0f0b5f7c35
commit bb1e3dd7f0

View File

@ -46,7 +46,7 @@ MovingPixelsState::MovingPixelsState(Editor* editor, Message* msg, PixelsMovemen
// MovingPixelsState needs a selection tool to avoid problems
// sharing the extra cel between the drawing cursor preview and the
// pixels movement/transformation preview.
ASSERT(!editor->getCurrentEditorTool()->getInk(0)->isSelection());
//ASSERT(!editor->getCurrentEditorTool()->getInk(0)->isSelection());
EditorCustomizationDelegate* customization = editor->getCustomizationDelegate();
m_pixelsMovement = pixelsMovement;