Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix: correct PostProcessVolume inspector registration key mismatch

esengine9a779a12ac0f
diff --git a/editor/src/panels/inspector/PostProcessVolumeInspector.ts b/editor/src/panels/inspector/PostProcessVolumeInspector.ts
index 115ec0e1d..6182a9373 100644
--- a/editor/src/panels/inspector/PostProcessVolumeInspector.ts
+++ b/editor/src/panels/inspector/PostProcessVolumeInspector.ts
@@ -351,8 +351,8 @@ function renderAddButton(
}
export function registerPostProcessVolumeInspector(registrar: PluginRegistrar): void {
- registrar.provide(COMPONENT_INSPECTOR, 'postprocess-volume', {
- id: 'postprocess-volume',
+ registrar.provide(COMPONENT_INSPECTOR, 'PostProcessVolume', {
+ id: 'PostProcessVolume',
componentType: 'PostProcessVolume',
render: renderInspector,
});