@babylonjs/node-geometry-editor 7.53.1 → 7.53.3

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.
@@ -261,11 +261,12 @@ import { AggregatorBlock } from "@babylonjs/core/Meshes/Node/Blocks/Set/aggregat
261
261
  import { CleanGeometryBlock } from "@babylonjs/core/Meshes/Node/Blocks/cleanGeometryBlock";
262
262
  import { PointListBlock } from "@babylonjs/core/Meshes/Node/Blocks/Sources/pointListBlock";
263
263
  import { SubdivideBlock } from "@babylonjs/core/Meshes/Node/Blocks/subdivideBlock";
264
+ import { GeometryEaseBlock } from "@babylonjs/core/Meshes/Node/Blocks/geometryEaseBlock";
264
265
  /**
265
266
  * Static class for BlockTools
266
267
  */
267
268
  export class BlockTools {
268
- static GetBlockFromString(data: string): SubdivideBlock | PointListBlock | CleanGeometryBlock | AggregatorBlock | LatticeBlock | GeometryInterceptorBlock | GeometryRotate2dBlock | GeometryLengthBlock | GeometryDistanceBlock | GeometryDotBlock | GeometryPosterizeBlock | GeometryReplaceColorBlock | GeometryDesaturateBlock | GeometryCurveBlock | GeometryCrossBlock | GeometryClampBlock | BooleanGeometryBlock | GeometryTextureFetchBlock | GeometryTextureBlock | BoundingBlock | MatrixComposeBlock | GeometryInfoBlock | GeometryCollectionBlock | GeometryOptimizeBlock | NullBlock | TeleportInBlock | TeleportOutBlock | DebugBlock | IntFloatConverterBlock | ConditionBlock | GeometryLerpBlock | GeometryNLerpBlock | GeometrySmoothStepBlock | GeometryStepBlock | MappingBlock | SetMaterialIDBlock | InstantiateOnVolumeBlock | InstantiateOnFacesBlock | InstantiateOnVerticesBlock | InstantiateBlock | MapRangeBlock | NormalizeVectorBlock | MeshBlock | VectorConverterBlock | TranslationBlock | ScalingBlock | AlignBlock | RotationXBlock | RotationYBlock | RotationZBlock | ComputeNormalsBlock | SetPositionsBlock | SetNormalsBlock | SetColorsBlock | SetTangentsBlock | SetUVsBlock | NoiseBlock | RandomBlock | GeometryOutputBlock | GridBlock | DiscBlock | IcoSphereBlock | BoxBlock | TorusBlock | SphereBlock | CylinderBlock | CapsuleBlock | PlaneBlock | GeometryElbowBlock | MergeGeometryBlock | GeometryTransformBlock | GeometryModBlock | GeometryPowBlock | GeometryInputBlock | MathBlock | GeometryTrigonometryBlock | GeometryArcTan2Block | InstantiateLinearBlock | InstantiateRadialBlock | null;
269
+ static GetBlockFromString(data: string): GeometryEaseBlock | SubdivideBlock | PointListBlock | CleanGeometryBlock | AggregatorBlock | LatticeBlock | GeometryInterceptorBlock | GeometryRotate2dBlock | GeometryLengthBlock | GeometryDistanceBlock | GeometryDotBlock | GeometryPosterizeBlock | GeometryReplaceColorBlock | GeometryDesaturateBlock | GeometryCurveBlock | GeometryCrossBlock | GeometryClampBlock | BooleanGeometryBlock | GeometryTextureFetchBlock | GeometryTextureBlock | BoundingBlock | MatrixComposeBlock | GeometryInfoBlock | GeometryCollectionBlock | GeometryOptimizeBlock | NullBlock | TeleportInBlock | TeleportOutBlock | DebugBlock | IntFloatConverterBlock | ConditionBlock | GeometryLerpBlock | GeometryNLerpBlock | GeometrySmoothStepBlock | GeometryStepBlock | MappingBlock | SetMaterialIDBlock | InstantiateOnVolumeBlock | InstantiateOnFacesBlock | InstantiateOnVerticesBlock | InstantiateBlock | MapRangeBlock | NormalizeVectorBlock | MeshBlock | VectorConverterBlock | TranslationBlock | ScalingBlock | AlignBlock | RotationXBlock | RotationYBlock | RotationZBlock | ComputeNormalsBlock | SetPositionsBlock | SetNormalsBlock | SetColorsBlock | SetTangentsBlock | SetUVsBlock | NoiseBlock | RandomBlock | GeometryOutputBlock | GridBlock | DiscBlock | IcoSphereBlock | BoxBlock | TorusBlock | SphereBlock | CylinderBlock | CapsuleBlock | PlaneBlock | GeometryElbowBlock | MergeGeometryBlock | GeometryTransformBlock | GeometryModBlock | GeometryPowBlock | GeometryInputBlock | MathBlock | GeometryTrigonometryBlock | GeometryArcTan2Block | InstantiateLinearBlock | InstantiateRadialBlock | null;
269
270
  static GetColorFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): string;
270
271
  static GetConnectionNodeTypeFromString(type: string): NodeGeometryBlockConnectionPointTypes.Int | NodeGeometryBlockConnectionPointTypes.Float | NodeGeometryBlockConnectionPointTypes.Vector2 | NodeGeometryBlockConnectionPointTypes.Vector3 | NodeGeometryBlockConnectionPointTypes.Vector4 | NodeGeometryBlockConnectionPointTypes.Matrix | NodeGeometryBlockConnectionPointTypes.AutoDetect;
271
272
  static GetStringFromConnectionNodeType(type: NodeGeometryBlockConnectionPointTypes): "" | "Int" | "Float" | "Vector2" | "Vector3" | "Vector4" | "Matrix";
@@ -1837,11 +1838,11 @@ export class GraphNode {
1837
1838
  private _onUpdateRequiredObserver;
1838
1839
  private _onHighlightNodeObserver;
1839
1840
  private _ownerCanvas;
1840
- private _isSelected;
1841
1841
  private _displayManager;
1842
1842
  private _isVisible;
1843
1843
  private _enclosingFrameId;
1844
1844
  private _visualPropertiesRefresh;
1845
+ private _lastClick;
1845
1846
  addClassToVisual(className: string): void;
1846
1847
  removeClassFromVisual(className: string): void;
1847
1848
  get isCollapsed(): boolean;
@@ -1861,10 +1862,8 @@ export class GraphNode {
1861
1862
  get height(): number;
1862
1863
  get id(): number;
1863
1864
  get name(): string;
1864
- get isSelected(): boolean;
1865
1865
  get enclosingFrameId(): number;
1866
1866
  set enclosingFrameId(value: number);
1867
- set isSelected(value: boolean);
1868
1867
  setIsSelected(value: boolean, marqueeSelection: boolean): void;
1869
1868
  get rootElement(): HTMLDivElement;
1870
1869
  constructor(content: INodeData, stateManager: StateManager);
@@ -1876,10 +1875,11 @@ export class GraphNode {
1876
1875
  private _refreshFrames;
1877
1876
  _refreshLinks(): void;
1878
1877
  refresh(): void;
1878
+ private _expand;
1879
+ private _searchMiddle;
1879
1880
  private _onDown;
1880
1881
  cleanAccumulation(useCeil?: boolean): void;
1881
1882
  private _onUp;
1882
- private _attach;
1883
1883
  private _onMove;
1884
1884
  renderProperties(): Nullable<JSX.Element>;
1885
1885
  _forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
@@ -2103,6 +2103,8 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
2103
2103
  private _candidateLinkedHasMoved;
2104
2104
  private _x;
2105
2105
  private _y;
2106
+ private _lastx;
2107
+ private _lasty;
2106
2108
  private _zoom;
2107
2109
  private _selectedNodes;
2108
2110
  private _selectedLink;
@@ -2116,6 +2118,7 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
2116
2118
  private _frames;
2117
2119
  private _nodeDataContentList;
2118
2120
  private _altKeyIsPressed;
2121
+ private _shiftKeyIsPressed;
2119
2122
  private _multiKeyIsPressed;
2120
2123
  private _oldY;
2121
2124
  _frameIsMoving: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-geometry-editor",
3
- "version": "7.53.1",
3
+ "version": "7.53.3",
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.53.1",
26
+ "@babylonjs/core": "^7.53.3",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },