babylonjs-editor 5.4.1-alpha.4 → 5.4.1-alpha.6

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.
@@ -1,14 +1,21 @@
1
1
  import { Component, PropsWithChildren, ReactNode } from "react";
2
+ import { Mesh } from "babylonjs";
2
3
  import { Editor } from "../../main";
3
4
  export interface IEditorGraphContextMenuProps extends PropsWithChildren {
4
5
  editor: Editor;
5
6
  object: any | null;
6
7
  onOpenChange?(open: boolean): void;
7
8
  }
8
- export declare class EditorGraphContextMenu extends Component<IEditorGraphContextMenuProps> {
9
+ export interface IEditorGraphContextMenuState {
10
+ selectedMeshes: Mesh[];
11
+ }
12
+ export declare class EditorGraphContextMenu extends Component<IEditorGraphContextMenuProps, IEditorGraphContextMenuState> {
13
+ constructor(props: IEditorGraphContextMenuProps);
9
14
  render(): ReactNode;
15
+ private _handleContextMenuOpenChange;
10
16
  private _getRemoveItems;
11
17
  private _getMeshItems;
18
+ private _handleMergeMeshes;
12
19
  private _handleSetNodeLocked;
13
20
  private _handleSetNodeSerializable;
14
21
  private _createMeshInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-editor",
3
- "version": "5.4.1-alpha.4",
3
+ "version": "5.4.1-alpha.6",
4
4
  "description": "Babylon.js Editor is a Web Application helping artists to work with Babylon.js",
5
5
  "productName": "Babylon.js Editor",
6
6
  "main": "build/src/index.js",