Clay: Make use of optimized DRW_shgroup_call_object_add.
This commit is contained in:
@@ -850,7 +850,7 @@ static void clay_cache_populate(void *vedata, Object *ob)
|
||||
DRW_shgroup_call_sculpt_add(clay_shgrp, ob, ob->obmat);
|
||||
}
|
||||
else {
|
||||
DRW_shgroup_call_add(clay_shgrp, geom, ob->obmat);
|
||||
DRW_shgroup_call_object_add(clay_shgrp, geom, ob);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user