New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blender-iks-to-fks

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blender-iks-to-fks - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

manual-installation-instructions.md

@@ -1,2 +0,2 @@

[Download the Addon file](https://github.com/chinedufn/blender-iks-to-fks/releases/download/1.2.0/convert-ik-to-fk.py)
[Download the Addon file](https://github.com/chinedufn/blender-iks-to-fks/releases/download/1.3.0/convert-ik-to-fk.py)

@@ -3,0 +3,0 @@ Go to your user preferences in Blender

{
"name": "blender-iks-to-fks",
"version": "1.3.0",
"version": "1.3.1",
"description": "A Blender script that takes a mesh and armature that use IKs and other non-deformation bones and creates a new mesh and armature that uses only FK bones",

@@ -5,0 +5,0 @@ "main": "bin/ik2fk.js",

@@ -40,6 +40,8 @@ var test = require('tape')

var bothImagesRendered
var beforeFile = path.resolve(__dirname, './before')
var afterFile = path.resolve(__dirname, './after')
// Render our model without converting it into FK
cp.exec(
`blender -b ${testBlendFile} --render-output ./before --render-frame 10 --render-format PNG`,
`blender -b ${testBlendFile} --render-output ${beforeFile} --render-frame 10 --render-format PNG -noaudio`,
function (err, stdout, stderr) {

@@ -55,3 +57,3 @@ if (err) { throw err }

cp.exec(
`blender -b ${testBlendFile} --python ${runAddon} --render-output ./after --render-frame 10 --render-format PNG`,
`blender -b ${testBlendFile} --python ${runAddon} --render-output ${afterFile} --render-frame 10 --render-format PNG -noaudio`,
function (err, stdout, stderr) {

@@ -75,3 +77,3 @@ if (err) { throw err }

if (bothImagesRendered) {
cp.exec('compare -metric RMSE before0010.png after0010.png /dev/null', function (_, stdout, stderr) {
cp.exec(`compare -metric RMSE ${beforeFile}0010.png ${afterFile}0010.png /dev/null`, function (_, stdout, stderr) {
// Compare will write the comparison to stderr. We parse their

@@ -85,4 +87,4 @@ // It looks like this:

// Delete our test renderings
fs.unlinkSync('before0010.png')
fs.unlinkSync('after0010.png')
fs.unlinkSync(`${beforeFile}0010.png`)
fs.unlinkSync(`${afterFile}0010.png`)

@@ -89,0 +91,0 @@ t.ok(rootSquareMeanError < 0.0002, 'New mesh and armature have the same animations as the old mesh and armature')

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc