Blender Git Loki

Git Commits -> Revision b5f262b

July 21, 2021, 17:53 (GMT)
adaptive_cloth: adaptive_remesh: create an "Empty" remesh function

It is useful to call `adaptive_remesh()` outside of the cloth
simulator mainly for testing purposes. Now because the use of
templates for the function `adaptive_remesh()` and it being defined
not in the same header file (this isn't possible in this case because
of other reasons), it requires a template instantiation needs to
happen because the function is called or something like that. This
leads to problems when `adaptive_remesh()` is called from some other
file.

The easiest fix was to create a new wrapper function without templates
and call this from other files.

Commit Details:

Full Hash: b5f262b3e0ebdbbac688515fd0531400921d7240
Parent Commit: c080ca1
Lines Changed: +41, -4

2 Modified Paths:

/source/blender/blenkernel/BKE_cloth_remesh.hh (+12, -0) (Diff)
/source/blender/blenkernel/intern/cloth_remesh.cc (+29, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021