[Geesas-Devs] SF.net SVN: geesas:[14] pencilanimation/src/interface/editor.cpp
Status: Abandoned
Brought to you by:
creek23
From: <cr...@us...> - 2009-02-09 17:29:41
|
Revision: 14 http://geesas.svn.sourceforge.net/geesas/?rev=14&view=rev Author: creek23 Date: 2009-02-09 17:29:39 +0000 (Mon, 09 Feb 2009) Log Message: ----------- Shift+F5 and F7 will also auto update TimeLine. Modified Paths: -------------- pencilanimation/src/interface/editor.cpp Modified: pencilanimation/src/interface/editor.cpp =================================================================== --- pencilanimation/src/interface/editor.cpp 2009-02-09 17:28:24 UTC (rev 13) +++ pencilanimation/src/interface/editor.cpp 2009-02-09 17:29:39 UTC (rev 14) @@ -913,7 +913,7 @@ palette->selectColour(0); scribbleArea->updateAllFrames(); updateMaxFrame(); - timeLine->forceUpdateLength(QString::number(maxFrame)); + //timeLine->forceUpdateLength(QString::number(maxFrame)); } bool Editor::openObject(QString filePath) { @@ -1617,6 +1617,7 @@ int frameNumber = object->getLayer(i)->getMaxFrame(); if( frameNumber > maxFrame) maxFrame = frameNumber; } + timeLine->forceUpdateLength(QString::number(maxFrame)); } /*void Editor::dockAllPalettes() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |