Skip to content
Snippets Groups Projects
  • Hans Goudey's avatar
    54182e49
    Mesh: Add an explicit "positions changed" function · 54182e49
    Hans Goudey authored
    We store various lazily calculated caches on meshes, some of which
    depend on the vertex positions staying the same. The current API to
    invalidate these caches is a bit confusing. With an explicit set of
    functions modeled after the functions in `BKE_node_tree_update.h`,
    it becomes clear which function to call. This may become more
    important if more lazy caches are added in the future.
    
    Differential Revision: https://developer.blender.org/D14760
    54182e49
    History
    Mesh: Add an explicit "positions changed" function
    Hans Goudey authored
    We store various lazily calculated caches on meshes, some of which
    depend on the vertex positions staying the same. The current API to
    invalidate these caches is a bit confusing. With an explicit set of
    functions modeled after the functions in `BKE_node_tree_update.h`,
    it becomes clear which function to call. This may become more
    important if more lazy caches are added in the future.
    
    Differential Revision: https://developer.blender.org/D14760