@babylonjs/node-editor 7.26.5 → 7.27.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1497,6 +1497,10 @@ export class HistoryStack implements IDisposable {
|
|
1497
1497
|
* Resets the stack
|
1498
1498
|
*/
|
1499
1499
|
reset(): void;
|
1500
|
+
/**
|
1501
|
+
* Remove the n-1 element of the stack
|
1502
|
+
*/
|
1503
|
+
collapseLastTwo(): void;
|
1500
1504
|
private _generateJSONDiff;
|
1501
1505
|
private _applyJSONDiff;
|
1502
1506
|
private _copy;
|
@@ -1864,11 +1868,13 @@ import { INodeData } from "@babylonjs/node-editor/nodeGraphSystem/interfaces/nod
|
|
1864
1868
|
import { IPortData } from "@babylonjs/node-editor/nodeGraphSystem/interfaces/portData";
|
1865
1869
|
import { ISelectionChangedOptions } from "@babylonjs/node-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
1866
1870
|
import { NodePort } from "@babylonjs/node-editor/nodeGraphSystem/nodePort";
|
1871
|
+
import { HistoryStack } from "@babylonjs/node-editor/historyStack";
|
1867
1872
|
export class StateManager {
|
1868
1873
|
data: any;
|
1869
1874
|
hostDocument: Document;
|
1870
1875
|
lockObject: any;
|
1871
1876
|
modalIsDisplayed: boolean;
|
1877
|
+
historyStack: HistoryStack;
|
1872
1878
|
onSearchBoxRequiredObservable: Observable<{
|
1873
1879
|
x: number;
|
1874
1880
|
y: number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/node-editor",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.27.1",
|
4
4
|
"main": "dist/babylon.nodeEditor.max.js",
|
5
5
|
"module": "dist/babylon.nodeEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.nodeEditor.max.js",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@babylonjs/core": "^7.
|
26
|
+
"@babylonjs/core": "^7.27.1",
|
27
27
|
"react": "^17.0.2",
|
28
28
|
"react-dom": "^17.0.2"
|
29
29
|
},
|