Blender Git Loki

Git Commits -> Revision 1bc655c

Revision 1bc655c by Hans Goudey (master)
November 5, 2021, 16:51 (GMT)
Fix T92815: Incorrect handling of evaluated meshes from curves

Evaluated meshes from curves are presented to render engines as
separate instance objects now, just like evaluated meshes from other
object types like point clouds and volumes. For that reason, cycles
should not consider curve objects as geometry (previously it did,
meaning it retrieved a second mesh from the curve object as well
as the temporary evaluated mesh geometry).

Further, avoid adding a curve object's evaluated mesh as data_eval,
since that is special behavior for meshes that is arbitrary. Adding an
evaluated mesh there but not an evalauted pointcloud is arbitrary,
for example. Retrieve the evaluated mesh in from the geometry set
in BKE_object_get_evaluated_mesh now, to support that change.

This gets us closer to a place where all of an object's evaluated data
is stored in geometry_set_eval, and we just have helper functions
to access specific geometry components.

Differential Revision: https://developer.blender.org/D13118

Commit Details:

Full Hash: 1bc655c5aa644c1b3b933f9e372ec5b5b504c0d5
Parent Commit: c473b2c
Lines Changed: +31, -22

4 Modified Paths:

/intern/cycles/blender/object.cpp (+7, -10) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.cc (+2, -2) (Diff)
/source/blender/blenkernel/intern/displist.cc (+0, -9) (Diff)
/source/blender/blenkernel/intern/object.cc (+22, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021