@luma.gl/engine
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -174,5 +174,3 @@ // luma.gl | ||
if (props.attributes) { | ||
this.setAttributes(props.attributes, { | ||
disableWarnings: props.disableWarnings | ||
}); | ||
this.setAttributes(props.attributes); | ||
} | ||
@@ -189,3 +187,3 @@ if (props.constantAttributes) { | ||
if (props.moduleSettings) { | ||
log.warn('Model.props.moduleSettings is deprecated. Use Model.shaderInputs.setProps()')(); | ||
// log.warn('Model.props.moduleSettings is deprecated. Use Model.shaderInputs.setProps()')(); | ||
this.updateModuleSettings(props.moduleSettings); | ||
@@ -418,3 +416,3 @@ } | ||
} | ||
if (!set && !(options?.disableWarnings || this.props.disableWarnings)) { | ||
if (!set && !(options?.disableWarnings ?? this.props.disableWarnings)) { | ||
log.warn(`Model(${this.id}): Ignoring buffer "${buffer.id}" for unknown attribute "${bufferName}"`)(); | ||
@@ -439,3 +437,3 @@ } | ||
} | ||
else if (!(options?.disableWarnings || this.props.disableWarnings)) { | ||
else if (!(options?.disableWarnings ?? this.props.disableWarnings)) { | ||
log.warn(`Model "${this.id}: Ignoring constant supplied for unknown attribute "${attributeName}"`)(); | ||
@@ -442,0 +440,0 @@ } |
{ | ||
"name": "@luma.gl/engine", | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "3D Engine Components for luma.gl", | ||
@@ -46,3 +46,3 @@ "type": "module", | ||
"dependencies": { | ||
"@luma.gl/shadertools": "9.0.6", | ||
"@luma.gl/shadertools": "9.0.7", | ||
"@math.gl/core": "^4.0.0", | ||
@@ -52,3 +52,3 @@ "@probe.gl/log": "^4.0.2", | ||
}, | ||
"gitHead": "937f4cffd47819854b44ce1532add35f6a8d049c" | ||
"gitHead": "776cf7b8d758df78dba231f4ef7b9b9693f10373" | ||
} |
@@ -273,5 +273,3 @@ // luma.gl | ||
if (props.attributes) { | ||
this.setAttributes(props.attributes, { | ||
disableWarnings: props.disableWarnings | ||
}); | ||
this.setAttributes(props.attributes); | ||
} | ||
@@ -288,3 +286,3 @@ if (props.constantAttributes) { | ||
if (props.moduleSettings) { | ||
log.warn('Model.props.moduleSettings is deprecated. Use Model.shaderInputs.setProps()')(); | ||
// log.warn('Model.props.moduleSettings is deprecated. Use Model.shaderInputs.setProps()')(); | ||
this.updateModuleSettings(props.moduleSettings); | ||
@@ -549,3 +547,3 @@ } | ||
} | ||
if (!set && !(options?.disableWarnings || this.props.disableWarnings)) { | ||
if (!set && !(options?.disableWarnings ?? this.props.disableWarnings)) { | ||
log.warn( | ||
@@ -575,3 +573,3 @@ `Model(${this.id}): Ignoring buffer "${buffer.id}" for unknown attribute "${bufferName}"` | ||
this.vertexArray.setConstantWebGL(attributeInfo.location, value); | ||
} else if (!(options?.disableWarnings || this.props.disableWarnings)) { | ||
} else if (!(options?.disableWarnings ?? this.props.disableWarnings)) { | ||
log.warn( | ||
@@ -578,0 +576,0 @@ `Model "${this.id}: Ignoring constant supplied for unknown attribute "${attributeName}"` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1073703
21862
+ Added@luma.gl/shadertools@9.0.7(transitive)
- Removed@luma.gl/shadertools@9.0.6(transitive)
Updated@luma.gl/shadertools@9.0.7