drw_batch_cache_generate_requested() is only needed when the geom needs to be created. Went from 37fps to 47fps with artificial testcase (lots of bones with one custom shape). Baseline 2.79 is 24fps. Also fix the drw_shgroup_bone_custom_wire.
drw_batch_cache_generate_requested() is only needed when the geom needs to be created. Went from 37fps to 47fps with artificial testcase (lots of bones with one custom shape). Baseline 2.79 is 24fps. Also fix the drw_shgroup_bone_custom_wire.