Skip to main content
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Source Link

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question herehere.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

Tweeted twitter.com/StackBlender/status/849037203238002688
added 25 characters in body
Source Link

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in GithubGithub.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.

Source Link

Addon executes only after left click on window

I have written a script that interpolates the beginning and end keyframes of an animation intended to be cyclic in response to my own question here.

The addon executes just fine, but only after clicking in the Fcurve window. I mean, I select, in the fcurve window, some keyframe or keyframe range or keyframe set (the script will look for the underlying channel or curve selected), then I click in my addon within its menu and finally left-click on an empty space in the window for the script to render on.

So, how could I set or fix the script so that it executes when I click on it in the menu?

The code is in Github.

PS: I don't know if the preferred behavior is posting the whole code here or referring it by a link, sorry.