mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 11:50:02 +01:00
Blend module updated (#263)
* blend initial steps * access to prior steps via passed util api * Update Blend And add missing start script Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * blend complete Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
This commit is contained in:
committed by
Jeffrey Warren
parent
09c4f250a2
commit
f8006da07e
@@ -1,8 +1,10 @@
|
||||
// add steps to the sequencer
|
||||
// TODO: reduce redundancy with InsertStep; this should be a specific usage of InsertStep at the final position
|
||||
function AddStep(_sequencer, image, name, o) {
|
||||
|
||||
function addStep(image, name, o_) {
|
||||
var moduleInfo = _sequencer.modules[name][1];
|
||||
if (_sequencer.modules[name]) var moduleInfo = _sequencer.modules[name][1];
|
||||
else console.log('Module ' + name + ' not found.');
|
||||
|
||||
var o = _sequencer.copy(o_);
|
||||
o.number = _sequencer.options.sequencerCounter++; // gives a unique ID to each step
|
||||
|
||||
Reference in New Issue
Block a user