Describe the bug
Using a SurfaceDeform mesh to bind "clothing" to the character mesh causes a render abort on that mesh.
To Reproduce
Steps to reproduce the behavior:
Download the example blend file from blend-exchange.com, open in blender (3.2)
Window >> Toggle System Console
F12 to render, note the error message in the console and the "pants" that render in the "non-SD" position compared to the 3D-View
ERROR (bke.modifier): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\modifier.c:456 BKE_modifier_set_error: Object: "Pants.SD", Modifier: "SurfaceDeform", Target polygons changed from 12456 to 3114
In the "male_21_brnEyes" modifier "mbastlab_subdvision", change Render from 2 to 1, then F12 to render. Render is correct.
Can also change "mbastlab_subdvision", change Viewport from 1 to 2, and immediately see 3D Viewport problem and error again in the Console,
Expected behavior
I don't know if your code can "catch" this error and somehow be more informative in the blender console output. Or perhaps a documentation note is worthy.
Screenshots
Additional context
Here is a stackexchange description of the problem, that also contains a v3.2 blend file to download.
Perhaps this could also be a bug in SD, however this indicates that it isn't or is tolerated?
Logs
Console output is like:
ERROR (bke.modifier): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\modifier.c:456 BKE_modifier_set_error: Object: "Pants.SD", Modifier: "SurfaceDeform", Target polygons changed from 12456 to 49824
Describe the bug Using a SurfaceDeform mesh to bind "clothing" to the character mesh causes a render abort on that mesh.
To Reproduce Steps to reproduce the behavior:
Expected behavior I don't know if your code can "catch" this error and somehow be more informative in the blender console output. Or perhaps a documentation note is worthy.
Screenshots![](https://i.stack.imgur.com/2Ukom.png)
Additional context Here is a stackexchange description of the problem, that also contains a v3.2 blend file to download.
Perhaps this could also be a bug in SD, however this indicates that it isn't or is tolerated?
Logs Console output is like:
ERROR (bke.modifier): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\modifier.c:456 BKE_modifier_set_error: Object: "Pants.SD", Modifier: "SurfaceDeform", Target polygons changed from 12456 to 49824