Blender Git Loki

Git Commits -> Revision 893e93b

Revision 893e93b by Ben Batt (master)
January 27, 2007, 13:33 (GMT)
Fix for a segfault in the new Displace modifier UV layer selection code:
If the "UV" texture coordinate option is selected while no UV layers exist,
the UV layer name in the modifier is blank. This is not a problem while no UV
layers exist, but if a UV layer is added the modifier code attempts to use
UV coordinates without handling the missing layer name correctly, leading to a
segfault. This only occurs when the modifier stack is recalculated before a
modifier UI redraw, as the UI redraw updates the layer name.

This fix handles a missing UV layer name by setting it to the active UV layer.

Commit Details:

Full Hash: 893e93bb5f82bb14e49b2ab1162308deda39632d
SVN Revision: 9927
Parent Commit: 735b426
Lines Changed: +5, -0

1 Modified Path:

/source/blender/blenkernel/intern/modifier.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021