[Geesas-Devs] SF.net SVN: geesas:[46] pencilanimation/src/interface/scribblearea.cpp
Status: Abandoned
Brought to you by:
creek23
From: <cr...@us...> - 2010-07-16 09:21:32
|
Revision: 46 http://geesas.svn.sourceforge.net/geesas/?rev=46&view=rev Author: creek23 Date: 2010-07-16 09:21:22 +0000 (Fri, 16 Jul 2010) Log Message: ----------- Fixed unupdated area. With speed-optimization offset is changed to 500 instead of 10. Modified Paths: -------------- pencilanimation/src/interface/scribblearea.cpp Modified: pencilanimation/src/interface/scribblearea.cpp =================================================================== --- pencilanimation/src/interface/scribblearea.cpp 2010-07-16 09:11:39 UTC (rev 45) +++ pencilanimation/src/interface/scribblearea.cpp 2010-07-16 09:21:22 UTC (rev 46) @@ -1,7 +1,8 @@ /* -Pencil - Traditional Animation Software +Clash - Freedom in a Flash Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon +Copyright (C) 2010 Mj Mendoza IV This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -1724,7 +1725,7 @@ QPen pen2(pen.colour, pen.width, Qt::SolidLine, Qt::RoundCap,Qt::RoundJoin); QPainterPath tempPath = BezierCurve(mousePoints).getSimplePath(); tempPath.lineTo(currentPoint); - QRect updateRect = myTempView.mapRect(tempPath.boundingRect().toRect()).adjusted(-10,-10,10,10); + QRect updateRect = myTempView.mapRect(tempPath.boundingRect().toRect()).adjusted(-500, -500, 500, 500);//try clearing buffer if(editor->getCurrentLayer()->type == Layer::VECTOR) { tempPath = myTempView.map( tempPath ); if(makeInvisible) { pen2.setWidth(0); pen2.setStyle(Qt::DotLine);} else pen2.setWidth(pen.width*myTempView.m11()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |