if (do_name() != 'Home') : ?>
endif ?>
Posted by Josh Caswell on Aug 14, 2009
Also, assigning the result of append() to canvas.layer is kind of weird, since layer() is actually a method of canvas (it does the same as append()). I think you probably want to create your own variable there.
include("util/comment.php"); ?>
There's a couple of funny things about this code.
You're returning an empty BezierPath from makesoundGrid(), and when you append an empty path onto your canvas, it just appends None. Then when you call filter() on None, you get that error.
In makesoundGrid(), assigning to path:
path = drawpath(fig)creates a new variable, local to makesoundGrid, called path. It doesn't assign to self.path, which I assume is what you want.
Also, assigning the result of append() to canvas.layer is kind of weird, since layer() is actually a method of canvas (it does the same as append()). I think you probably want to create your own variable there.
Path to layer problem
Posted by Alexey on Aug 05, 2009Guess I don't quite get the thing with Core Image library.
I keep getting the "AttributeError: 'NoneType' object has no attribute 'filter'" stuff...I have a grid of ovals and I need to add some filters to the image.
Here's the code...
Need help!
Thanks in advance