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

Semantic Sensor Issue in the latest main branch #2803 #2087

Closed
Jianghanxiao opened this issue Apr 29, 2023 · 1 comment · Fixed by #2090
Closed

Semantic Sensor Issue in the latest main branch #2803 #2087

Jianghanxiao opened this issue Apr 29, 2023 · 1 comment · Fixed by #2090
Assignees

Comments

@Jianghanxiao
Copy link

Jianghanxiao commented Apr 29, 2023

Habitat-Sim version

main

🐛 Bug

The semantic sensor for FP dataset doesn't work. This is caused by the default value of flags_ in PbrDrawable. The judging here will always return True because the flags_ is initialized with that PbrShader::Flag::ObjectId. Here we should call this one to fix materialData_->attribute<bool>("hasPerVertexObjectId")

Steps to Reproduce

Any scene in FP will have the problem

@jturner65
Copy link
Contributor

This PR should address this issue
#2090

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 a pull request may close this issue.

2 participants