Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

star_mod_renderer

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

star_mod_renderer - npm Package Compare versions

Comparing version 1.0.50 to 1.0.51

2

package.json
{
"name": "star_mod_renderer",
"version": "1.0.50",
"version": "1.0.51",
"description": "star mod project render auxiliary",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -97,2 +97,3 @@ /**

} from "./helper/parser";
import { isFashionHair } from ".";

@@ -228,2 +229,11 @@ export class Render extends RenderBase {

this.auxiliaryModels.femaleHead = defaultHeadModelRender;
const fashionHairModel = modelRender.getModel();
const femaleHeadModel = this.auxiliaryModels.femaleHead.getModel();
let headBones = null;
femaleHeadModel.traverse((item) => {
if(item.name === 'root') {
headBones = item;
}
});
fashionHairModel.add(headBones.clone(true));
}

@@ -536,2 +546,16 @@ if (isFashionMale(goodSecondaryClassification)) {

this.auxiliaryModels.femaleHead = defaultHeadModelRender;
let fashionHairModel = null;
standardGoods.forEach((item, index) => {
if (isFashionHair(item.goodSecondaryClassification)) {
fashionHairModel = this.mainModels[index].getModel();
}
});
const femaleHeadModel = this.auxiliaryModels.femaleHead.getModel();
let headBones = null;
femaleHeadModel.traverse((item) => {
if(item.name === 'root') {
headBones = item;
}
});
fashionHairModel.add(headBones.clone(true));
}

@@ -538,0 +562,0 @@ if (isFashionMale(goodSecondaryClassification)) {

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