[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern modifier.c

Ben Batt benbatt at gmail.com
Sat Jan 27 14:33:56 CET 2007

artificer (Ben Batt) 2007/01/27 14:33:56 CET

  Modified files:
    blender/source/blender/blenkernel/intern modifier.c 
  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.
  Revision  Changes    Path
  1.91      +6 -1      blender/source/blender/blenkernel/intern/modifier.c

More information about the Bf-blender-cvs mailing list