Skip to content

Conversation

@manzt
Copy link
Member

@manzt manzt commented Jan 28, 2025

Fixes #854, which I believe was introduced in #805.

Fixes #

Background

Change List

Checklist

  • Update JSdoc types if there is any API change.
  • Make sure Avivator works as expected with your change.

Fixes #854, which I believe was introduced in #805.
@manzt manzt requested a review from ilan-gold January 28, 2025 18:09
@manzt manzt changed the title fix(layers): Pass through opts.renderPass fix(layers): Pass through opts.renderPass to @luma.gl model.draw Jan 28, 2025
@ilan-gold
Copy link
Collaborator

I am ok with this but I don't really understand how it arose all of a sudden.

@ilan-gold
Copy link
Collaborator

(which is confusing)

@manzt
Copy link
Member Author

manzt commented Jan 29, 2025

I was able to reproduce the error by upgrading deckgl/luma to v9.1 on main. So yes, the error was from upgrading to a server range we don't support.

I guess the question is should we make this change and bump the semver range?

Copy link
Collaborator

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the question is should we make this change and bump the semver range?

Right that's kind of what I was getting at, just wanted to make sure I understood. But if the current change works with 9.0 (and is actually what the API there calls for), then I think we can merge this PR, unless there is a reason not to. We can officially upgrade later.

xinaesthete added a commit to xinaesthete/viv that referenced this pull request Apr 25, 2025
keller-mark pushed a commit that referenced this pull request Jun 17, 2025
* (chore) change deck/luma related dependencies

* (fix) remove unused import createTestContext

* (fix) pass opts.renderPass to model.draw, similar to #855

* (cosmetic) apply biome fix

* remove redundant 'device' parameter in getRenderingAttrs

* fix formatting

* add changeset for release

* use this.context.renderPass in line with deck.gl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong parameter for renderPass in @luma.gl model.draw()

3 participants