sebavan 6 gadi atpakaļ
vecāks
revīzija
00bcf3bbc5

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

@@ -49,7 +49,6 @@ export class PBRMaterialPropertyGridComponent extends React.Component<IPBRMateri
                 <TextureLinkLineComponent label="Opacity" texture={material.opacityTexture} material={material} onSelectionChangedObservable={this.props.onSelectionChangedObservable} onDebugSelectionChangeObservable={onDebugSelectionChangeObservable} />
                 <TextureLinkLineComponent label="Ambient" texture={material.ambientTexture} material={material} onSelectionChangedObservable={this.props.onSelectionChangedObservable} onDebugSelectionChangeObservable={onDebugSelectionChangeObservable} />
                 <TextureLinkLineComponent label="Lightmap" texture={material.lightmapTexture} material={material} onSelectionChangedObservable={this.props.onSelectionChangedObservable} onDebugSelectionChangeObservable={onDebugSelectionChangeObservable} />
-                <TextureLinkLineComponent label="Thickness" texture={material.thicknessTexture} material={material} onSelectionChangedObservable={this.props.onSelectionChangedObservable} onDebugSelectionChangeObservable={onDebugSelectionChangeObservable} />
             </LineContainerComponent>
         );
     }

+ 1 - 0
src/Materials/PBR/pbrSubSurfaceConfiguration.ts

@@ -343,6 +343,7 @@ export class PBRSubSurfaceConfiguration {
 
     /**
      * Unbinds the material from the mesh.
+     * @param activeEffect defines the effect that should be unbound from.
      * @returns true if unbound, otherwise false
      */
     public unbind(activeEffect: Effect): boolean {