@babylonjs/node-geometry-editor 7.27.0 → 7.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1124,6 +1124,10 @@ export class HistoryStack implements IDisposable {
|
|
|
1124
1124
|
* Resets the stack
|
|
1125
1125
|
*/
|
|
1126
1126
|
reset(): void;
|
|
1127
|
+
/**
|
|
1128
|
+
* Remove the n-1 element of the stack
|
|
1129
|
+
*/
|
|
1130
|
+
collapseLastTwo(): void;
|
|
1127
1131
|
private _generateJSONDiff;
|
|
1128
1132
|
private _applyJSONDiff;
|
|
1129
1133
|
private _copy;
|
|
@@ -1491,11 +1495,13 @@ import { INodeData } from "@babylonjs/node-geometry-editor/nodeGraphSystem/inter
|
|
|
1491
1495
|
import { IPortData } from "@babylonjs/node-geometry-editor/nodeGraphSystem/interfaces/portData";
|
|
1492
1496
|
import { ISelectionChangedOptions } from "@babylonjs/node-geometry-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
1493
1497
|
import { NodePort } from "@babylonjs/node-geometry-editor/nodeGraphSystem/nodePort";
|
|
1498
|
+
import { HistoryStack } from "@babylonjs/node-geometry-editor/historyStack";
|
|
1494
1499
|
export class StateManager {
|
|
1495
1500
|
data: any;
|
|
1496
1501
|
hostDocument: Document;
|
|
1497
1502
|
lockObject: any;
|
|
1498
1503
|
modalIsDisplayed: boolean;
|
|
1504
|
+
historyStack: HistoryStack;
|
|
1499
1505
|
onSearchBoxRequiredObservable: Observable<{
|
|
1500
1506
|
x: number;
|
|
1501
1507
|
y: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-geometry-editor",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.1",
|
|
4
4
|
"main": "dist/babylon.nodeGeometryEditor.max.js",
|
|
5
5
|
"module": "dist/babylon.nodeGeometryEditor.max.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeGeometryEditor.max.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^7.27.
|
|
26
|
+
"@babylonjs/core": "^7.27.1",
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-dom": "^17.0.2"
|
|
29
29
|
},
|