@babylonjs/node-editor 7.23.0 → 7.23.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.
|
@@ -145,7 +145,6 @@ import { LockObject } from "@babylonjs/node-editor/tabs/propertyGrids/lockObject
|
|
|
145
145
|
import { StateManager } from "@babylonjs/node-editor/nodeGraphSystem/stateManager";
|
|
146
146
|
import { FilesInput } from "@babylonjs/core/Misc/filesInput";
|
|
147
147
|
export class GlobalState {
|
|
148
|
-
nodeMaterial: NodeMaterial;
|
|
149
148
|
hostElement: HTMLElement;
|
|
150
149
|
hostDocument: Document;
|
|
151
150
|
hostWindow: Window;
|
|
@@ -196,6 +195,15 @@ export class GlobalState {
|
|
|
196
195
|
get engine(): number;
|
|
197
196
|
/** Sets the engine */
|
|
198
197
|
set engine(e: number);
|
|
198
|
+
private _nodeMaterial;
|
|
199
|
+
/**
|
|
200
|
+
* Gets the current node material
|
|
201
|
+
*/
|
|
202
|
+
get nodeMaterial(): NodeMaterial;
|
|
203
|
+
/**
|
|
204
|
+
* Sets the current node material
|
|
205
|
+
*/
|
|
206
|
+
set nodeMaterial(nodeMaterial: NodeMaterial);
|
|
199
207
|
customSave?: {
|
|
200
208
|
label: string;
|
|
201
209
|
action: (data: string) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-editor",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.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.23.
|
|
26
|
+
"@babylonjs/core": "^7.23.1",
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-dom": "^17.0.2"
|
|
29
29
|
},
|