forked from blender/blender
Rename some functions #25
@ -86,8 +86,7 @@ void BlenderSceneDelegate::populate(Depsgraph *deps, bContext *cont)
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case ID_MA: {
|
case ID_MA: {
|
||||||
MaterialData *mat_data = material_data(
|
MaterialData *mat_data = material_data(MaterialData::prim_id(this, (Material *)id));
|
||||||
MaterialData::prim_id(this, (Material *)id));
|
|
||||||
if (mat_data) {
|
if (mat_data) {
|
||||||
mat_data->update();
|
mat_data->update();
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,7 @@ class InstancerData : public MeshData {
|
|||||||
pxr::GfMatrix4d transform() override;
|
pxr::GfMatrix4d transform() override;
|
||||||
bool update_visibility(View3D *view3d) override;
|
bool update_visibility(View3D *view3d) override;
|
||||||
|
|
||||||
pxr::HdPrimvarDescriptorVector instancer_primvar_descriptors(
|
pxr::HdPrimvarDescriptorVector instancer_primvar_descriptors(pxr::HdInterpolation interpolation);
|
||||||
pxr::HdInterpolation interpolation);
|
|
||||||
pxr::VtIntArray instance_indices();
|
pxr::VtIntArray instance_indices();
|
||||||
bool is_base(Object *object) const;
|
bool is_base(Object *object) const;
|
||||||
|
|
||||||
|
@ -134,8 +134,7 @@ pxr::HdMeshTopology MeshData::mesh_topology()
|
|||||||
face_vertex_indices_);
|
face_vertex_indices_);
|
||||||
}
|
}
|
||||||
|
|
||||||
pxr::HdPrimvarDescriptorVector MeshData::primvar_descriptors(
|
pxr::HdPrimvarDescriptorVector MeshData::primvar_descriptors(pxr::HdInterpolation interpolation)
|
||||||
pxr::HdInterpolation interpolation)
|
|
||||||
{
|
{
|
||||||
pxr::HdPrimvarDescriptorVector primvars;
|
pxr::HdPrimvarDescriptorVector primvars;
|
||||||
if (interpolation == pxr::HdInterpolationVertex) {
|
if (interpolation == pxr::HdInterpolationVertex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user