@babylonjs/inspector 7.27.0 → 7.27.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4709,6 +4709,10 @@ export class HistoryStack implements IDisposable {
4709
4709
  * Resets the stack
4710
4710
  */
4711
4711
  reset(): void;
4712
+ /**
4713
+ * Remove the n-1 element of the stack
4714
+ */
4715
+ collapseLastTwo(): void;
4712
4716
  private _generateJSONDiff;
4713
4717
  private _applyJSONDiff;
4714
4718
  private _copy;
@@ -5076,11 +5080,13 @@ import { INodeData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/nodeD
5076
5080
  import { IPortData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/portData";
5077
5081
  import { ISelectionChangedOptions } from "@babylonjs/inspector/nodeGraphSystem/interfaces/selectionChangedOptions";
5078
5082
  import { NodePort } from "@babylonjs/inspector/nodeGraphSystem/nodePort";
5083
+ import { HistoryStack } from "@babylonjs/inspector/historyStack";
5079
5084
  export class StateManager {
5080
5085
  data: any;
5081
5086
  hostDocument: Document;
5082
5087
  lockObject: any;
5083
5088
  modalIsDisplayed: boolean;
5089
+ historyStack: HistoryStack;
5084
5090
  onSearchBoxRequiredObservable: Observable<{
5085
5091
  x: number;
5086
5092
  y: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.27.0",
3
+ "version": "7.27.2",
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.27.0",
36
- "@babylonjs/gui": "^7.27.0",
37
- "@babylonjs/gui-editor": "^7.27.0",
38
- "@babylonjs/loaders": "^7.27.0",
39
- "@babylonjs/materials": "^7.27.0",
40
- "@babylonjs/serializers": "^7.27.0",
35
+ "@babylonjs/core": "^7.27.2",
36
+ "@babylonjs/gui": "^7.27.2",
37
+ "@babylonjs/gui-editor": "^7.27.2",
38
+ "@babylonjs/loaders": "^7.27.2",
39
+ "@babylonjs/materials": "^7.27.2",
40
+ "@babylonjs/serializers": "^7.27.2",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"