Merge branch 'blender-v2.93-release'
This commit is contained in:
commit
ffa8563429
|
@ -765,12 +765,15 @@ static void eevee_hair_cache_populate(EEVEE_Data *vedata,
|
|||
|
||||
if (matcache.depth_grp) {
|
||||
*matcache.depth_grp_p = DRW_shgroup_hair_create_sub(ob, psys, md, matcache.depth_grp);
|
||||
DRW_shgroup_add_material_resources(*matcache.depth_grp_p, matcache.shading_gpumat);
|
||||
}
|
||||
if (matcache.shading_grp) {
|
||||
*matcache.shading_grp_p = DRW_shgroup_hair_create_sub(ob, psys, md, matcache.shading_grp);
|
||||
DRW_shgroup_add_material_resources(*matcache.shading_grp_p, matcache.shading_gpumat);
|
||||
}
|
||||
if (matcache.shadow_grp) {
|
||||
*matcache.shadow_grp_p = DRW_shgroup_hair_create_sub(ob, psys, md, matcache.shadow_grp);
|
||||
DRW_shgroup_add_material_resources(*matcache.shadow_grp_p, matcache.shading_gpumat);
|
||||
*cast_shadow = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -4207,6 +4207,10 @@ static void pyrna_dir_members_rna(PyObject *list, PointerRNA *ptr)
|
|||
iterprop = RNA_struct_iterator_property(ptr->type);
|
||||
|
||||
RNA_PROP_BEGIN (ptr, itemptr, iterprop) {
|
||||
/* Custom-properties are exposed using `__getitem__`, exclude from `__dir__`. */
|
||||
if (RNA_property_is_idprop(itemptr.data)) {
|
||||
continue;
|
||||
}
|
||||
nameptr = RNA_struct_name_get_alloc(&itemptr, name, sizeof(name), &namelen);
|
||||
|
||||
if (nameptr) {
|
||||
|
|
Loading…
Reference in New Issue