Commit 26a7e31b authored by liujiaxin's avatar liujiaxin

mul

parent 0a4fe5c6
...@@ -233,7 +233,7 @@ export default class PengPeng extends cc.Component { ...@@ -233,7 +233,7 @@ export default class PengPeng extends cc.Component {
const u1 = dragonDisplay.dragonAtlasAsset._uuid; const u1 = dragonDisplay.dragonAtlasAsset._uuid;
const u2 = dragonDisplay.dragonAsset._uuid; const u2 = dragonDisplay.dragonAsset._uuid;
dragonDisplay.premultipliedAlpha = false;
// dragonDisplay.dragonAtlasAsset.destroy(); // dragonDisplay.dragonAtlasAsset.destroy();
// dragonDisplay.dragonAsset.destroy(); // dragonDisplay.dragonAsset.destroy();
...@@ -271,6 +271,7 @@ export default class PengPeng extends cc.Component { ...@@ -271,6 +271,7 @@ export default class PengPeng extends cc.Component {
// console.log(texture ? JSON.stringify(texture) : texture, atlasJson ? JSON.stringify(atlasJson) : atlasJson, dragonBonesJson? JSON.stringify(dragonBonesJson): dragonBonesJson) // console.log(texture ? JSON.stringify(texture) : texture, atlasJson ? JSON.stringify(atlasJson) : atlasJson, dragonBonesJson? JSON.stringify(dragonBonesJson): dragonBonesJson)
if (texture) { if (texture) {
texture.setPremultiplyAlpha(true); texture.setPremultiplyAlpha(true);
dragonDisplay.premultipliedAlpha = false;
} }
console.log(texture ? `${texture.constructor.name}` : texture, atlasJson ? atlasJson.constructor.name : atlasJson, dragonBonesJson? dragonBonesJson.constructor.name: dragonBonesJson) console.log(texture ? `${texture.constructor.name}` : texture, atlasJson ? atlasJson.constructor.name : atlasJson, dragonBonesJson? dragonBonesJson.constructor.name: dragonBonesJson)
console.log(1) console.log(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment