forked from jywarren/image-sequencer
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Step via HTML ui in demo errors in PixelManipulation #9
Labels
Comments
sequencer.run() expects an image parameter
So maybe it's not catching the image and that's why showing undefined error I might be wrong since I just started looking at the codebase |
I was trying to make it so that you could pass an image in via run(image)
but that you could also just trigger it by sending an empty run call if the
imageselect module exists. But I think it could be better thought through
-- I don't like how imageselect is "special", you know? It breaks the
rules. Maybe imageselect is really part of the HTML UI, and not a module?
…On Mar 11, 2017 1:46 PM, "Himanshu Aggarwal" ***@***.***> wrote:
sequencer.run() expects an image parameter
file - dist/image-sequencer.js line -184165
function run(image) {
if (image) steps[1].draw(image);
else steps[0].draw();
}
So maybe it's not catching the image and that's why showing undefined error
I might be wrong since I just started looking at the codebase
What do you think @jywarren <https://github.com/jywarren> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ7Op0P84njaO2zDmc1ycMhGY5QKuks5rkuwBgaJpZM4MaOmt>
.
|
We have shifted quite a lot from this code, and this issue is fixed, so closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As described in #6, in comments, after merging #6, I still got:
on this line: https://github.com/publiclab/image-sequencer/blob/master/src/modules/PixelManipulation.js#L17
when adding a new step via the HTML ui. But then when I drop a new image into the
image-select
UI, all steps run correctly.This may have to do with
sequencer.run()
The text was updated successfully, but these errors were encountered: