| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Setting the last vertex to 0 was the source of those 3D polygon bugs, is something similar going to come up here?
Sorry, something went wrong.
There was a problem hiding this comment.
I don't think so. When the code returned is agg::path_cmd_stop, the x and y values are actually meaningless and should be ignored by the caller. This fix is only to silence a compiler warning that it is theoretically possible to get a vertex where the x y values were never set (if it were a 0-length path), since the compiler doesn't understand the semantics of the vertex codes.
Sorry, something went wrong.
|
I don't think this is worth back-porting to 1.4.x |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes a compiler warning about uninitialized values that looks like it's coming from Agg, but which is actually matplotlib's fault ;)