From 28e35aed03cd5f60edeb0ad07ae962a09aee1454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=87=AF=E9=B9=8F?= <609075410@qq.com> Date: Fri, 8 Apr 2022 10:32:42 +0800 Subject: [PATCH] [Editor] show pipelineStates in inspector (#10586) (cherry picked from commit f1a2c28cc3c64a3dcb96bf13892c137040cd0cc5) --- editor/inspector/assets/material.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/inspector/assets/material.js b/editor/inspector/assets/material.js index c5cb0b0f23..ae913cc29d 100644 --- a/editor/inspector/assets/material.js +++ b/editor/inspector/assets/material.js @@ -155,10 +155,6 @@ exports.methods = { for (let i = 0; i < technique.passes.length; i++) { const pass = technique.passes[i]; - // If the propertyIndex is not equal to the current pass index, then do not render - if (pass.propertyIndex !== undefined && pass.propertyIndex.value !== i) { - continue; - } // if asset is readonly if (this.asset.readonly) {