Blender Git Commit Log

Git Commits -> Revision 99cfad6

Revision 99cfad6 by Dalai Felinto (master)
January 25, 2017, 09:01 (GMT)
Convert MBC_ API to Mesh (instead of derived mesh) and move it to mesh_render

This includes a few fixes in the MBC_ api.

The idea here is for this to be the only interface the render engines
will deal with for the meshes.

If we need to expose special options for sculpting engine we refactor
this accordingly. But for now we are shaping this in a per-case base.

* We still need to hook up to the depsgraph to force clear/update of
batch_cache when mesh changes

(I'm waiting for Sergey Sharybin's depsgraph update for this though)

* Also ideally we could/should use BMesh directly instead of
DerivedMesh, but this will do for now.

Note 2:
In the end I renamed the `BKE_mesh_render` functions to `static
mesh_render`. We can re-expose them as BKE_* later once we need it.

Reviewers: merwin

Subscribers: fclem

Differential Revision:

Commit Details:

Full Hash: 99cfad6a015715a090fa2e1d808196dd1a02b390
Parent Commit: 5be2a62
Lines Changed: +685, -365

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020