Rename some functions #25

Merged
Bogdan Nagirniak merged 13 commits from BLEN-388 into hydra-render 2023-04-18 09:07:35 +02:00
3 changed files with 3 additions and 6 deletions
Showing only changes of commit 816f141e7d - Show all commits

View File

@ -86,8 +86,7 @@ void BlenderSceneDelegate::populate(Depsgraph *deps, bContext *cont)
} break;
case ID_MA: {
MaterialData *mat_data = material_data(
MaterialData::prim_id(this, (Material *)id));
MaterialData *mat_data = material_data(MaterialData::prim_id(this, (Material *)id));
if (mat_data) {
mat_data->update();
}

View File

@ -27,8 +27,7 @@ class InstancerData : public MeshData {
pxr::GfMatrix4d transform() override;
bool update_visibility(View3D *view3d) override;
pxr::HdPrimvarDescriptorVector instancer_primvar_descriptors(
pxr::HdInterpolation interpolation);
pxr::HdPrimvarDescriptorVector instancer_primvar_descriptors(pxr::HdInterpolation interpolation);
pxr::VtIntArray instance_indices();
bool is_base(Object *object) const;

View File

@ -134,8 +134,7 @@ pxr::HdMeshTopology MeshData::mesh_topology()
face_vertex_indices_);
}
pxr::HdPrimvarDescriptorVector MeshData::primvar_descriptors(
pxr::HdInterpolation interpolation)
pxr::HdPrimvarDescriptorVector MeshData::primvar_descriptors(pxr::HdInterpolation interpolation)
{
pxr::HdPrimvarDescriptorVector primvars;
if (interpolation == pxr::HdInterpolationVertex) {