@babylonjs/inspector 7.20.1 → 7.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -228,11 +228,13 @@ export class GlobalState {
228
228
  validationResults: Nullable<IGLTFValidationResults>;
229
229
  onValidationResultsUpdatedObservable: Observable<Nullable<IGLTFValidationResults>>;
230
230
  onExtensionLoadedObservable: Observable<IGLTFLoaderExtension>;
231
+ glTFLoaderOverrideExtensionsConfig: boolean;
231
232
  glTFLoaderExtensionDefaults: {
232
233
  [name: string]: {
233
234
  [key: string]: any;
234
235
  };
235
236
  };
237
+ glTFLoaderOverrideConfig: boolean;
236
238
  glTFLoaderDefaults: {
237
239
  [key: string]: any;
238
240
  };
@@ -1491,8 +1493,13 @@ interface IGLTFComponentProps {
1491
1493
  globalState: GlobalState;
1492
1494
  lockObject: LockObject;
1493
1495
  }
1494
- export class GLTFComponent extends React.Component<IGLTFComponentProps> {
1496
+ interface IGLTFComponentState {
1497
+ showGLTFLoaderOptions: boolean;
1498
+ showGLTFExtensionOptions: boolean;
1499
+ }
1500
+ export class GLTFComponent extends React.Component<IGLTFComponentProps, IGLTFComponentState> {
1495
1501
  private _onValidationResultsUpdatedObserver;
1502
+ constructor(props: IGLTFComponentProps);
1496
1503
  openValidationDetails(): void;
1497
1504
  prepareText(singularForm: string, count: number): string;
1498
1505
  componentDidMount(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.20.1",
3
+ "version": "7.21.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.20.1",
36
- "@babylonjs/gui": "^7.20.1",
37
- "@babylonjs/gui-editor": "^7.20.1",
38
- "@babylonjs/loaders": "^7.20.1",
39
- "@babylonjs/materials": "^7.20.1",
40
- "@babylonjs/serializers": "^7.20.1",
35
+ "@babylonjs/core": "^7.21.0",
36
+ "@babylonjs/gui": "^7.21.0",
37
+ "@babylonjs/gui-editor": "^7.21.0",
38
+ "@babylonjs/loaders": "^7.21.0",
39
+ "@babylonjs/materials": "^7.21.0",
40
+ "@babylonjs/serializers": "^7.21.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"