@luma.gl/core 9.0.11 → 9.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -0
- package/dist/adapter/device.js +1 -1
- package/dist/dist.dev.js +4 -3
- package/dist/dist.min.js +4 -4
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +2 -2
- package/dist/init.js +1 -1
- package/dist/lib/luma.js +1 -1
- package/package.json +2 -2
- package/src/adapter/device.ts +1 -1
- package/src/lib/luma.ts +1 -1
package/dist/init.js
CHANGED
|
@@ -11,7 +11,7 @@ import { lumaStats } from "./utils/stats-manager.js";
|
|
|
11
11
|
function initializeLuma() {
|
|
12
12
|
// Version detection using babel plugin
|
|
13
13
|
// @ts-expect-error
|
|
14
|
-
const VERSION = typeof "9.0.
|
|
14
|
+
const VERSION = typeof "9.0.14" !== 'undefined' ? "9.0.14" : 'running from source';
|
|
15
15
|
const STARTUP_MESSAGE = 'set luma.log.level=1 (or higher) to trace rendering';
|
|
16
16
|
// Assign luma.log.level in console to control logging: \
|
|
17
17
|
// 0: none, 1: minimal, 2: verbose, 3: attribute/uniforms, 4: gl logs
|
package/dist/lib/luma.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luma.gl/core",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.14",
|
|
4
4
|
"description": "The luma.gl core Device API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@probe.gl/stats": "^4.0.2",
|
|
47
47
|
"@types/offscreencanvas": "^2019.6.4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "0b466762e8255ed11b00c6bc518049d3b54c4009"
|
|
50
50
|
}
|
package/src/adapter/device.ts
CHANGED
|
@@ -253,7 +253,7 @@ export abstract class Device {
|
|
|
253
253
|
|
|
254
254
|
requestMaxLimits: true,
|
|
255
255
|
debug: Boolean(log.get('debug')), // Instrument context (at the expense of performance)
|
|
256
|
-
spector: Boolean(log.get('spector')), // Initialize the SpectorJS WebGL debugger
|
|
256
|
+
spector: Boolean(log.get('spector') || log.get('spectorjs')), // Initialize the SpectorJS WebGL debugger
|
|
257
257
|
break: [],
|
|
258
258
|
|
|
259
259
|
// TODO - Change these after confirming things work as expected
|
package/src/lib/luma.ts
CHANGED
|
@@ -105,7 +105,7 @@ export class luma {
|
|
|
105
105
|
|
|
106
106
|
/** Creates a device. Asynchronously. */
|
|
107
107
|
static async createDevice(props: CreateDeviceProps = {}): Promise<Device> {
|
|
108
|
-
props = {...
|
|
108
|
+
props = {...luma.defaultProps, ...props};
|
|
109
109
|
if (props.gl) {
|
|
110
110
|
props.type = 'webgl';
|
|
111
111
|
}
|