|
@@ -40502,6 +40502,9 @@ var BABYLON;
|
|
defines.push("#define NUM_BONE_INFLUENCERS " + mesh.numBoneInfluencers);
|
|
defines.push("#define NUM_BONE_INFLUENCERS " + mesh.numBoneInfluencers);
|
|
defines.push("#define BonesPerMesh " + (mesh.skeleton.bones.length + 1));
|
|
defines.push("#define BonesPerMesh " + (mesh.skeleton.bones.length + 1));
|
|
fallbacks.addCPUSkinningFallback(0, mesh);
|
|
fallbacks.addCPUSkinningFallback(0, mesh);
|
|
|
|
+ if (this._options.uniforms.indexOf("mBones") === -1) {
|
|
|
|
+ this._options.uniforms.push("mBones");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
defines.push("#define NUM_BONE_INFLUENCERS 0");
|
|
defines.push("#define NUM_BONE_INFLUENCERS 0");
|