Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] 3D viewer selection #1395

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

markusweigelt
Copy link
Contributor

  • Adjusts the modeldownloadtool to additionally retrieve the model url from the tx_dlf[model] parameter.
  • It provides the viewerselectiontool to display all viewers that support the model format for rendering (therefore, the model URL is extracted from the METS file or the model parameter is used).

image

  • documentation of both tools

@sebastian-meyer sebastian-meyer self-requested a review December 16, 2024 20:54
@sebastian-meyer sebastian-meyer added the ⚙ feature A new feature or enhancement. label Dec 16, 2024
) {
// Quit without doing anything if required variables are not set.
$modelUrl = $this->getModelUrl();
if ($modelUrl) {
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this check for NO $modelUrl instead?

Suggested change
if ($modelUrl) {
if ($modelUrl === '') {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙ feature A new feature or enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants