Comments (4)
Perhaps a simple type cast would suffice:
blender-animation-retargeting/baking.py
Line 52 in f057ab2
bpy.ops.nla.bake(
frame_start=int(min(keyframes)),
frame_end=int(max(keyframes)),
step=s.bake_step,
visual_keying=True,
use_current_action=True,
bake_types={'POSE'},
only_selected=False
)
from blender-animation-retargeting.
Met the same issue at 3.1 - keyframe id is float and we need to cast it to int to make it work.
Not sure if it's actually float like "1.1" or just "1.0" and if it's important.
from blender-animation-retargeting.
I did not have time to dig into this, but it appears there was some code change from blender 3.0 to 3.1 that made this bake method stricter. I pushed a small fix to this repo: 042d633
from blender-animation-retargeting.
You missed one!
from blender-animation-retargeting.
Related Issues (20)
- Is the add-on compatible with 2.9? HOT 2
- Apply button is missing at "Rest alignment" step. HOT 7
- Error on blender 2.91 HOT 7
- No Rest Alignment in 2.92 HOT 2
- Could you add option which can count correction future drive for baking? HOT 1
- Add option to bake keyframes for mapped bones only? HOT 1
- Could you show code example to change target bone rotation order and driver expression?
- Add Support for Library Override Linked Skeletons ? HOT 1
- [Feature request] Add button to automatically match the names of bones that match HOT 1
- Original animations cannot be seen after retargeting due to euler rotation mode HOT 2
- getting the animation baked results in a error HOT 2
- old .rtconfig file doesn't work by renaming it to .blend
- New Bone Mapping Controls
- Seeking Assistance with this Plugin Integration Using in Unity HOT 16
- Mapping Presets
- Option to have the retargeted animation over another animation HOT 2
- Inconsistent retargeting after initial bake
- How do you bake multiple animations at once? HOT 1
- Retargeting Addon stuck HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender-animation-retargeting.