Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

v0.8.0

Compare
Choose a tag to compare
@AndrewPrifer AndrewPrifer released this 11 Dec 14:24
· 5 commits to main since this release

New features

  • Added "align object to view" action 8a30668
  • Added viewport settings panel 4aad9f6, a41da9d, 8d92488
  • Added environment support that automatically detects HDR images loaded in your app 4aad9f6, 5609ddb
  • Added overlay icons for editable objects 064a324
  • Added option to reset transform to the initial one provided in the code f0510cf

Improvements

  • Made reference window react to canvas size changes 8ea6f2f
  • Made reference window absolutely positioned to allow it to slide under the viewport buttons if necessary 6df73b0
  • vertexColors property is now respected when using viewport shading 7d480a2
  • Made configure() options parameter optional 9c3babe
  • Bounding box is now only shown on hover acd51d0
  • Replaced EditableManager with bind() for registering canvases 25771c5 💥 BREAKING
  • Removed wrapper group and instead now use code properties as initial values 1f74c97 💥 BREAKING
  • Various UI improvements 6af413b, 6bced0f, 7b07a98
  • Updated help screen shown when no canvas is connected d852955, 812e47a

Bug fixes

  • Improved architecture and fixed "focus on selected" 786aa7c
  • Fixed editable typescript types e0fb600

Breaking changes

  • Replaced EditableManager with bind() for registering canvases 25771c5

    Instead of EditableManager, r3e now uses a bind() function returned by configure(). This makes r3e more robust and stops using semantics that don't fully make sense and allow for errors, while also paving the way for r3e to be fully encapsulated so it can be used by published components for example. For more information, see this issue: #46.

  • Removed wrapper group and instead now use code properties as initial values 1f74c97

    This makes more sense and allows for more functionality, especially in the context of upcoming features in r3e. To emulate the current behavior, simply wrap your object in an editable.group. For more info see: #31.