[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] SF.net SVN: supercollider:[8348] trunk/build/SCClassLibrary/Common/Audio/ asSynthDesc.sc
Revision: 8348
http://supercollider.svn.sourceforge.net/supercollider/?rev=8348&view=rev
Author: jamshark70
Date: 2008-12-31 18:41:54 +0000 (Wed, 31 Dec 2008)
Log Message:
-----------
Bugfix: keep metadata in SynthDesc when using memStore
Modified Paths:
--------------
trunk/build/SCClassLibrary/Common/Audio/asSynthDesc.sc
Modified: trunk/build/SCClassLibrary/Common/Audio/asSynthDesc.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Audio/asSynthDesc.sc 2008-12-31 17:22:44 UTC (rev 8347)
+++ trunk/build/SCClassLibrary/Common/Audio/asSynthDesc.sc 2008-12-31 18:41:54 UTC (rev 8348)
@@ -37,11 +37,13 @@
var lib = SynthDescLib.all[libname] ?? {
Error("library" + libname + "not found").throw
},
- stream = CollStream(this.asBytes);
+ stream = CollStream(this.asBytes), desc;
SynthDesc.readFile(stream, keepDef, lib.synthDescs);
+ desc = lib[name.asSymbol];
if(keepDef) {
- lib[name.asSymbol].def = this;
+ desc.def = this;
};
- ^lib[name.asSymbol]
+ if(metadata.notNil) { desc.metadata = metadata };
+ ^desc
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/