You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the moving to Three.js v127, the use of CustomEvent to dispatch the event to the handlers is producing errors in the console
Uncaught TypeError: Cannot set property target of #<Event> which has only a getter
These errors were probably being produced before but managed by Threejs, now they are rised and break the execution thread. To replace CustomEvent they will be replaced by the standard events that THREE.EventDispatcher recommends.
To keep compatibility, the events will be using detail to contain the same objects that were raised before.
WARNING: With this change we will lose Bubble and Cancel attributes
The text was updated successfully, but these errors were encountered:
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs.
#### ✨ Enhancements
- #212 Allow to remove an object by name
- #211 Create an object property that changes all the materials by a color
- #169 Update to Three.js v127
- #214 Full refactor of tb.tube
- #215 Refactor tb.line
- #216 Refactor tb.update
- #217 utils.material should allow THREE.DoubleSide
- #218 Remove CustomEvent from events
- #219 Remove .getInverse()
- #220 Update Loaders
- #221 Add fflate module
#### 🪲 Bug fixes
- #222 fflate depends on a physical file
#### 📝 Documentation
- Updated [documentation](/docs/Threebox.md) (`obj.color`, `tb.removeByName`)
Due to the moving to Three.js v127, the use of
CustomEvent
to dispatch the event to the handlers is producing errors in the consoleUncaught TypeError: Cannot set property target of #<Event> which has only a getter
These errors were probably being produced before but managed by Threejs, now they are rised and break the execution thread. To replace
CustomEvent
they will be replaced by the standard events thatTHREE.EventDispatcher
recommends.To keep compatibility, the events will be using
detail
to contain the same objects that were raised before.WARNING: With this change we will lose
Bubble
andCancel
attributesThe text was updated successfully, but these errors were encountered: