mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
更新编译文件
This commit is contained in:
parent
2882d044ba
commit
b330bf563c
@ -31110,6 +31110,7 @@
|
|||||||
},
|
},
|
||||||
_updateMaterial: function _updateMaterial() {
|
_updateMaterial: function _updateMaterial() {
|
||||||
var material = this.getMaterial(0);
|
var material = this.getMaterial(0);
|
||||||
|
if (!material) return;
|
||||||
var isMultiMaterial = material.material.isMultiSupport();
|
var isMultiMaterial = material.material.isMultiSupport();
|
||||||
if (isMultiMaterial) {
|
if (isMultiMaterial) {
|
||||||
if (!this._texture) return;
|
if (!this._texture) return;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -31094,6 +31094,7 @@
|
|||||||
},
|
},
|
||||||
_updateMaterial: function _updateMaterial() {
|
_updateMaterial: function _updateMaterial() {
|
||||||
var material = this.getMaterial(0);
|
var material = this.getMaterial(0);
|
||||||
|
if (!material) return;
|
||||||
var isMultiMaterial = material.material.isMultiSupport();
|
var isMultiMaterial = material.material.isMultiSupport();
|
||||||
if (isMultiMaterial) {
|
if (isMultiMaterial) {
|
||||||
if (!this._texture) return;
|
if (!this._texture) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user