Skip to content
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

Crop throws error on line 988 #1

Open
TrnsltLife opened this issue Feb 7, 2014 · 1 comment
Open

Crop throws error on line 988 #1

TrnsltLife opened this issue Feb 7, 2014 · 1 comment

Comments

@TrnsltLife
Copy link

I get an error when using the C key on an image. It tells me there's a problem with line 988 and that gl_load only takes two parameters, not three.

I tried changing the line from:
gl_load(fframe, bgl.GL_NEAREST, bgl.GL_NEAREST)
to
gl_load(fframe, bgl.GL_NEAREST)
and the crop tool now shows up. I don't see the actual image I'm cropping though, just a white rectangle.

Great functionality in this addon. I'm trying to learn from the code as I start trying to implement my own scripts.

@kgeogeo
Copy link
Owner

kgeogeo commented Feb 7, 2014

Hi,I can't reproduce this error.Try to take the last version here: https://github.com/kgeogeo/VSE_Transform_ToolsMaybe you don't have a recent enough blender version too: http://builder.blender.org/download/
Say me if it work after that.bye

Date: Thu, 6 Feb 2014 16:46:07 -0800
From: [email protected]
To: [email protected]
Subject: [VSE_Transform_Tools] Crop throws error on line 988 (#1)

I get an error when using the C key on an image. It tells me there's a problem with line 988 and that gl_load only takes two parameters, not three.

I tried changing the line from:

gl_load(fframe, bgl.GL_NEAREST, bgl.GL_NEAREST)

to

gl_load(fframe, bgl.GL_NEAREST)

and the crop tool now shows up. I don't see the actual image I'm cropping though, just a white rectangle.

Great functionality in this addon. I'm trying to learn from the code as I start trying to implement my own scripts.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants