modify diffuseMap property visible (#10333)

This commit is contained in:
黄森斌
2022-03-14 17:00:02 +08:00
committed by GitHub
parent 14653478a5
commit 396dca5ce1
+1 -1
View File
@@ -388,7 +388,7 @@ export class SkyboxInfo {
* @zh 使用的漫反射卷积图
*/
@visible(function (this : SkyboxInfo) {
if (this.useIBL) {
if (this.useIBL && this.applyDiffuseMap) {
return true;
}
return false;