-
Notifications
You must be signed in to change notification settings - Fork 174
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
Replace the deprecated QVector::fromStdVector and QVector::toStdVector(). #1482
Conversation
The following links are available: build (ubuntu-18.04, full)
build (macOS-10.15, full) build (windows-latest, full) build (self-hosted_debian-11_aarch64, full)
|
output.edit1() = hfmModelIn->originalURL; | ||
output.edit2() = hfmModelIn->meshIndicesToModelNames; | ||
auto& blendshapesPerMesh = output.edit3(); | ||
blendshapesPerMesh.reserve(hfmModelIn->meshes.size()); | ||
for (int i = 0; i < hfmModelIn->meshes.size(); i++) { | ||
blendshapesPerMesh.push_back(hfmModelIn->meshes[i].blendshapes.toStdVector()); | ||
blendshapesPerMesh.push_back(std::vector<hfm::Blendshape>(hfmModelIn->meshes[i].blendshapes.begin(), hfmModelIn->meshes[i].blendshapes.end())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could save a reference to hfmModelIn->meshes[i] just above to avoid indexing twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
The following links are available: build (ubuntu-18.04, full)
build (macOS-10.15, client) build (windows-latest, full) build (self-hosted_debian-11_aarch64, full)
|
Needs an update. |
1a6020d
to
7f41f1a
Compare
The following links are available:
build (macOS-10.15, full) build (macOS-10.15, client) build (windows-latest, full) |
The following links are available: build (ubuntu-18.04, full)
build (macOS-10.15, full) build (windows-latest, full) |
The following links are available:
build (windows-latest, full) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appears to work fine. I don't think we could ever bake glTF models, right?
When I would uncheck the bake box for an FBX model, it would stay on pending... checking it again to use baked would work though. Unsure if that was an existing / related issue or not.
7f41f1a
to
8d8d43e
Compare
The following links are available: build (macOS-10.15, full) build (ubuntu-18.04, full)
|
This should make no functional difference, but get rid of ~20 warnings.
This is based on top of PR #1468