Blender Git Loki

Git Commits -> Revision 3211c80

Revision 3211c80 by Hans Goudey (master)
November 5, 2021, 18:20 (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: 3211c80a3110729a5ffaf064297ccb625850e8a1
Parent Commit: 8d2a0d9
Committed By: Pablo Vazquez
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