Skip to content

Commit

Permalink
Increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
harrycollin committed Aug 10, 2023
1 parent f591dd0 commit a87cd34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openbim-components",
"version": "1.0.0-alpha.64",
"version": "1.0.0-alpha.65",
"main": "index.js",
"author": "harry collin, antonio gonzalez viegas",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions resources/openbim-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ class ToolComponent extends Component {
* [delta time](https://threejs.org/docs/#api/en/core/Clock) of the loop.
*/
update(delta) {
const tools = Object.values(this.list);
const tools = this.list.values();
for (const tool of tools) {
if (tool.enabled && tool.isUpdateable()) {
tool.update(delta);
Expand All @@ -1132,7 +1132,7 @@ class ToolComponent extends Component {
* Disposes all the memory used by all the tools.
*/
dispose() {
const tools = Object.values(this.list);
const tools = this.list.values();
for (const tool of tools) {
tool.enabled = false;
if (tool.isDisposeable()) {
Expand Down

0 comments on commit a87cd34

Please sign in to comment.