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

Corrected the order of texture arguments #1300

Merged
merged 2 commits into from
Jan 29, 2023

Conversation

MaroonAmor
Copy link
Contributor

@tancik Before this fix, using scripts/texture.py to texture an existing mesh will give an error: TypeError: unsupported operand type(s) for /.

This is due to the inconsistent argument order when calling texture_utils.export_textured_mesh from scripts/texture.py. The arguments self.px_per_uv_triangle and self.output_dir should be swapped.

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing

@tancik tancik merged commit 91d6116 into nerfstudio-project:main Jan 29, 2023
@MaroonAmor MaroonAmor deleted the texture_cli_fix branch January 29, 2023 17:23
chris838 pushed a commit to chris838/nerfstudio that referenced this pull request Apr 22, 2023
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.

2 participants