Page 1 of 1

error drawing circle

Posted: Nov 10th, '17, 11:02
by SimpleSi
Got this error trying to draw a circle

Re: error drawing circle

Posted: Nov 10th, '17, 12:01
by JohnM
Thanks for the screenshot of the debugger.

This is a very strange error. I can't reproduce it.

From what I can see in the debugger screenshot, it would appear that self_fillCircle is being passed the parameters you provided in the block, but it's not passing them along to the call to drawCircle in the ShapeMaker class. Looking at the code, I'm not sure how that could happen, but bugs often seem "impossible" until you understand what's really going on.

Are you able to reproduce this bug in the context of a particular GP project? Are you able to reproduce if you restart GP and try this without loading any projects? What version of GP are you using? Are you running it in the browser (which browser) or stand-alone (which OS?). Did you make any changes to it?

Re: error drawing circle

Posted: Nov 10th, '17, 15:42
by SimpleSi
It was my normal win10

I was starting a new ProjectEuler challenge https://projecteuler.net/problem=199

I'd done a file new before I started on it and had done a few pen commands just prior to it happening

On restarting GP (v076) - I cannot reproduce either!

if it happens again - I'll let you know

Re: error drawing circle

Posted: Nov 10th, '17, 16:17
by JohnM
Thanks for the info. Please do let me know if it happens again.