Skip to content

Commit 4bc2a53

Browse files
committed
Add missing support for inspectableCustomProperties
1 parent c100187 commit 4bc2a53

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/postProcesses/commonPostProcessPropertyGridComponent.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { SliderLineComponent } from "shared-ui-components/lines/sliderLineCompon
1313
import type { GlobalState } from "../../../../globalState";
1414
import { ButtonLineComponent } from "shared-ui-components/lines/buttonLineComponent";
1515
import { TextInputLineComponent } from "shared-ui-components/lines/textInputLineComponent";
16+
import { CustomPropertyGridComponent } from "../customPropertyGridComponent";
1617

1718
interface ICommonPostProcessPropertyGridComponentProps {
1819
globalState: GlobalState;
@@ -31,6 +32,12 @@ export class CommonPostProcessPropertyGridComponent extends React.Component<ICom
3132

3233
return (
3334
<div>
35+
<CustomPropertyGridComponent
36+
globalState={this.props.globalState}
37+
target={postProcess}
38+
lockObject={this.props.lockObject}
39+
onPropertyChangedObservable={this.props.onPropertyChangedObservable}
40+
/>
3441
<LineContainerComponent title="GENERAL" selection={this.props.globalState}>
3542
<TextLineComponent label="Class" value={postProcess.getClassName()} />
3643
<TextInputLineComponent

packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObj
99
import type { PostProcessRenderPipeline } from "core/PostProcesses/RenderPipeline/postProcessRenderPipeline";
1010
import type { GlobalState } from "../../../../globalState";
1111
import { SliderLineComponent } from "shared-ui-components/lines/sliderLineComponent";
12+
import { CustomPropertyGridComponent } from "../customPropertyGridComponent";
1213

1314
interface ICommonRenderingPipelinePropertyGridComponentProps {
1415
globalState: GlobalState;
@@ -28,6 +29,12 @@ export class CommonRenderingPipelinePropertyGridComponent extends React.Componen
2829

2930
return (
3031
<div>
32+
<CustomPropertyGridComponent
33+
globalState={this.props.globalState}
34+
target={renderPipeline}
35+
lockObject={this.props.lockObject}
36+
onPropertyChangedObservable={this.props.onPropertyChangedObservable}
37+
/>
3138
<LineContainerComponent title="GENERAL" selection={this.props.globalState}>
3239
<TextLineComponent label="Name" value={renderPipeline.name} />
3340
<TextLineComponent label="Class" value={renderPipeline.getClassName()} />

0 commit comments

Comments
 (0)