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) {