Author: remi
Date: 2008-07-31 13:38:00 +0200 (Thu, 31 Jul 2008)
New Revision: 1434
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
Log:
* fixed bug with the sound wave blocks copying. The waveform is now loaded.
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
===================================================================
---
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
2008-07-31 10:51:29 UTC (rev 1433)
+++
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
2008-07-31 11:38:00 UTC (rev 1434)
@@ -1357,7 +1357,17 @@
return null;
}
- return createBlock(rowCopied, blockCopied.getFunctionParams(),
+ ATTBlock newBlock;
+
+ newBlock = createBlock(rowCopied,
blockCopied.getFunctionParams(),
timeBegin, blockCopied.getLength());
+
+ if (rowCopied == ATTConfig.BLOCK_TYPE_WAV)
+ {
+
newBlock.loadWaveFile(attituneFile.getWaveFile((String)blockCopied.
+ getFunctionParams().get("wav_name")));
+ }
+
+ return newBlock;
}
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn