Sfoglia il codice sorgente

Fix inspector merge

sebavan 6 anni fa
parent
commit
6f2ca712c4

+ 1 - 1
inspector/src/components/actionTabs/lines/textureLineComponent.tsx

@@ -1,5 +1,5 @@
 import * as React from "react";
-import { BaseTexture, PostProcess, Texture } from "babylonjs";
+import { BaseTexture, PostProcess, Texture, PassPostProcess, PassCubePostProcess } from "babylonjs";
 import { GlobalState } from "components/globalState";
 
 interface ITextureLineComponentProps {

+ 1 - 1
inspector/src/components/actionTabs/tabs/propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent.tsx

@@ -27,7 +27,7 @@ export class PBRMetallicRoughnessMaterialPropertyGridComponent extends React.Com
             return null;
         }
 
-        const onDebugSelectionChangeObservable = new BABYLON.Observable<BaseTexture>();
+        const onDebugSelectionChangeObservable = new Observable<BaseTexture>();
 
         return (
             <LineContainerComponent title="TEXTURES">

+ 1 - 1
inspector/src/components/actionTabs/tabs/propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent.tsx

@@ -27,7 +27,7 @@ export class PBRSpecularGlossinessMaterialPropertyGridComponent extends React.Co
             return null;
         }
 
-        const onDebugSelectionChangeObservable = new BABYLON.Observable<BaseTexture>();
+        const onDebugSelectionChangeObservable = new Observable<BaseTexture>();
 
         return (
             <LineContainerComponent title="TEXTURES">

+ 2 - 0
inspector/src/components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent.tsx

@@ -13,6 +13,8 @@ import { LockObject } from "../lockObject";
 import { ValueLineComponent } from "../../../lines/valueLineComponent";
 import { GlobalState } from "components/globalState";
 
+import { AdvancedDynamicTextureInstrumentation, AdvancedDynamicTexture } from "babylonjs-gui";
+
 interface ITexturePropertyGridComponentProps {
     texture: BaseTexture,
     lockObject: LockObject,