Code was rather confusing, get_object_orco was only checking for orco in cache for some objects and was actually allocating orco for other objects. Now made it so get_object_orco always only checks the cache and only call set_object_orco if there's no orco for it yet.