Stefan Schuermans commited on 2013-12-28 22:09:04
Showing 2 changed files, with 8 additions and 0 deletions.
... | ... |
@@ -3,6 +3,10 @@ Copyright (C) 2004-2013: Stefan Schuermans <stefan@blinkenarea.org> |
3 | 3 |
Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
4 | 4 |
a blinkenarea.org project |
5 | 5 |
|
6 |
+1.4.4 2013-12-28 |
|
7 |
+---------------- |
|
8 |
+keep movie dimensions on file new |
|
9 |
+ |
|
6 | 10 |
1.4.3 2013-10-26 |
7 | 11 |
---------------- |
8 | 12 |
added MCUF output to file/device |
... | ... |
@@ -228,6 +228,10 @@ public class Blimp extends JApplet |
228 | 228 |
frame.setTitle( "Blimp" ); |
229 | 229 |
labelStatus.setText( "new movie..." ); |
230 | 230 |
curFile = null; |
231 |
+ if (curMovie != null) |
|
232 |
+ curMovie = new BlinkenMovie( curMovie.getHeight(), curMovie.getWidth(), |
|
233 |
+ curMovie.getChannels(), curMovie.getMaxval() ); |
|
234 |
+ else |
|
231 | 235 |
curMovie = new BlinkenMovie( defHeight, defWidth, defChannels, defMaxval ); |
232 | 236 |
curMovie.insertInfo( 0, "creator", String.format( "Blimp (version %d.%d.%d)", Version.Major, Version.Minor, Version.Revision ) ); |
233 | 237 |
curMovie.insertFrame( 0, new BlinkenFrame( defHeight, defWidth, defChannels, defMaxval, defDuration ) ); |
234 | 238 |