diff --git a/packages/dev/inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx b/packages/dev/inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx index c582a573949..826064e29ad 100644 --- a/packages/dev/inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx +++ b/packages/dev/inspector/src/components/actionTabs/tabs/propertyGridTabComponent.tsx @@ -314,6 +314,7 @@ export class PropertyGridTabComponent extends PaneComponent { light={pointLight} lockObject={this._lockObject} onPropertyChangedObservable={this.props.onPropertyChangedObservable} + onSelectionChangedObservable={this.props.onSelectionChangedObservable} /> ); } diff --git a/packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx b/packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx index 487d5811aa9..314ee55909a 100644 --- a/packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx +++ b/packages/dev/inspector/src/components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx @@ -10,12 +10,14 @@ import { FloatLineComponent } from "shared-ui-components/lines/floatLineComponen import { CommonShadowLightPropertyGridComponent } from "./commonShadowLightPropertyGridComponent"; import type { LockObject } from "shared-ui-components/tabs/propertyGrids/lockObject"; import type { GlobalState } from "../../../../globalState"; +import { TextureLinkLineComponent } from "../../../../../components/actionTabs/lines/textureLinkLineComponent"; interface ISpotLightPropertyGridComponentProps { globalState: GlobalState; light: SpotLight; lockObject: LockObject; onPropertyChangedObservable?: Observable; + onSelectionChangedObservable?: Observable; } export class SpotLightPropertyGridComponent extends React.Component { @@ -86,6 +88,10 @@ export class SpotLightPropertyGridComponent extends React.Component + + {light.iesProfileTexture && ( + + )}