Skip to content

Releases: ssatguru/BabylonJS-EditControl

v3.3.0

08 Jan 22:33
Compare
Choose a tag to compare
  • moved the EditControl to the Babylonjs DefaultUtilityLayer scene.
  • refactored deprecated methods
  • upgraded babylonjs to the latest 5.41.0
  • upgraded typescript,webpack,pepjs

v3.2.5

27 Apr 02:37
Compare
Choose a tag to compare
  • fix for pointerlock (@Pryme8 )
  • added test for pointerlock
  • simplified test setup
  • added few missing setters

v3.2.2

05 May 17:26
Compare
Choose a tag to compare

Added a new method switchCamera(camera:Camera)

v3.2.1

09 Mar 20:54
Compare
Choose a tag to compare
  • removed "earcut" dependency. You no longer have to bundle it with your application
  • ui changes to plane translation and scale guides
  • show/hide bug fix
  • refactor code to reduce size by about 3kb.

v3.2.0

05 Mar 00:27
Compare
Choose a tag to compare

application converted to a UMD module.
can now be loaded as AMD or CommonJS/NodeJS module.
can also be loaded as a plain vanilla JavaScript application using script tags.
some breaking changes on how it is loaded as a plain vanilla JavaScript application. See README for details

v3.1.0

23 Jan 02:19
Compare
Choose a tag to compare
  • planar guides always rotate to face camera. makes it easier to pick them
  • mesh with parents or childs are properly supported. see https://ssatguru.github.io/BabylonJS-EditControl/demo-parenting.html
  • constructor now has an additional optional parameter called "pickWidth". This determines how close the pointers need to get to an axis before the axis can be picked up. The default is 0.02
  • constructor "scale" parameter has been made optional. Default is 1.
  • code refactored. private properties are prefixed with underscore "_". This warns JavaScript coders from using those as JavaScript does not honor TypeScript's "private" keyword. Underscore also helps with property name mangling and thus reducing the minified size.
  • added additional demo file (demo-parenting.html). The long term intention being to use these for tests.

v3.0.1

07 Jan 17:30
Compare
Choose a tag to compare
  • now we can rotate even when camera is very close to rotation plane
  • major rotation code refactoring
  • action listeners are now called directly/synchronously rather than through windows setTimeout() function

v3.0.0

31 Dec 21:30
Compare
Choose a tag to compare
  • major change to rotation UI
    now uses the more common "spherical" guides
  • new methods
    getPosition()
    getRotationQuaternion()
    hide()
    show()
    isHidden()
    setVisibility()
  • few properties and methods which were private were exposed by mistake. They are now hidden
  • code refactoring.

v2.5.3

25 Dec 21:51
Compare
Choose a tag to compare
  • fixed bug "setTransSnap (true) does not work if we do not add setTransSnapValue ()"
  • changed color of planar trans and scale guides

v2.5.2

17 Dec 15:59
Compare
Choose a tag to compare

Fixed issue where scaling was not happening uniformly when scaling was being done in 2 or 3 axes at the same time