← Changelog

Polygonjs 2.0.46

Drag-to-connect network panel, voxel surface offsets

·built with Jai 0.2.029

  • New Drag a node over another and hold for a moment, they connect, with no aiming at a connector.
  • New Shake a node (or a whole selection) mid-drag to pull it out of the graph: the boundary edges drop and the chain heals behind it, so a → x → c becomes a → c.
  • New surfaceOffset on geo/MeshToVoxel and geo/VoxelCreate: shift the iso-surface the voxels are built from: negative erodes so the voxels sit inside the real surface, positive dilates for a thicker shell or to close thin features.
  • Improved Connecting nodes no longer needs a precise cursor: connectors snap from a distance, the wire you are dragging previews the connector the drop will actually use, and the snap still works when zoomed out.
  • Improved A whole node drag is a single undo step, however many connect, disconnect and splice actions it fired along the way.
  • Improved geo/MeshToVoxel voxelizes box-shaped meshes far more faithfully.
  • Fixed Undoing while dragging a node no longer crashes the editor.
  • Fixed Setting a node path, asset path or string parameter to an empty string resets it to its default, instead of leaving an empty reference that could not resolve and broke code export.
  • Fixed Node paths and asset paths are trimmed, so a path pasted with a stray leading or trailing space still resolves.
Also in this release
  • PolyNode spare parameters and the parameters declared by a PolyNode definition now stay in step with each other, including through save, reload and regeneration.