Skip to content

Commit

Permalink
Merge pull request #120 from xeokit/fix-disabletextures-and-disableno…
Browse files Browse the repository at this point in the history
…rmals

Fix disabletextures and disablenormals options
  • Loading branch information
xeolabs authored Jan 10, 2024
2 parents d0eebc1 + 46ecf9a commit 30125b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions convert2xkt.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ async function main() {
rotateX: options.rotatex,
reuseGeometries: (options.disablegeoreuse !== true),
minTileSize: options.mintilesize,
includeTextures: options.textures,
includeNormals: options.normals,
includeTextures: !options.disabletextures,
includeNormals: !options.disablenormals,
log
}).then(() => {

Expand Down Expand Up @@ -182,8 +182,8 @@ async function main() {
rotateX: options.rotatex,
reuseGeometries: (options.disablegeoreuse !== true),
minTileSize: options.mintilesize,
includeTextures: options.textures,
includeNormals: options.normals,
includeTextures: !options.disabletextures,
includeNormals: !options.disablenormals,
log
}).then(() => {
log(`[convert2xkt] Done.`);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xeokit/xeokit-convert",
"version": "1.1.10",
"version": "1.1.11",
"description": "JavaScript utilities to create .XKT files",
"main": "index.js",
"bin": "/convert2xkt.js",
Expand Down

0 comments on commit 30125b9

Please sign in to comment.