Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjythebee committed Oct 24, 2024
1 parent 943d5b7 commit aef0cb1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/library/characterManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,6 @@ export class CharacterManager {
console.warn(`Trait with name: ${traitGroupID} was not found or not selected.`)
return;
}
console.log("load blendshape trait", traitGroupID, blendshapeGroupId, blendshapeTraitId)
if(!currentTrait.blendShapeTraitsInfo){
currentTrait.blendShapeTraitsInfo = {};
}
Expand Down Expand Up @@ -988,8 +987,6 @@ export class CharacterManager {
if(child.isMesh || child.isSkinnedMesh){

const mesh = child;
console.log("toggle blendshape", blendshape.id, enable)
console.log("mesh.morphTargetDictionary", mesh)
if(!mesh.morphTargetDictionary || !mesh.morphTargetInfluences) return
const blendShapeIndex = mesh.morphTargetDictionary[blendshape.id];
if (blendShapeIndex != undefined){
Expand Down Expand Up @@ -1114,7 +1111,7 @@ export class CharacterManager {
* unregister the Blendshapes from the manifest -if any.
* This is to avoid BlendshapeTraits being affected by the vrm.ExpressionManager
*/
// this._unregisterMorphTargetsFromManifest(vrm);
this._unregisterMorphTargetsFromManifest(vrm);

if (this.manifestData.isLipsyncTrait(traitID))
this.lipSync = new LipSync(vrm);
Expand Down

0 comments on commit aef0cb1

Please sign in to comment.