Skip to content
  • Michael Natterer's avatar
    applied patch from Sven Neumann which removes code that prevents layers · 13a32c91
    Michael Natterer authored
    2004-12-06  Michael Natterer  <mitch@gimp.org>
    
    	* app/tools/gimptransformtool.c: applied patch from Sven Neumann
    	which removes code that prevents layers with mask from being
    	transformed.
    
    	* app/tools/gimptransformtool.[ch]: added "gboolean mask_empty"
    	parameter to GimpTransformTool::transform(). Needed because the
    	selection gets cleared by cutting from the drawable and we need
    	the selection's state before that cutting.
    
    	(gimp_transform_tool_doit): pass "mask_empty" to
    	GimpTransformTool::transform():
    
    	* app/tools/gimptransformtool.c (gimp_transform_tool_real_transform)
    	* app/tools/gimpfliptool.c (gimp_flip_tool_transform): when
    	transforming a layer with mask and there is no selection,
    	transform the mask just as if it was a linked item.
    	Fixes bug #143837 and bug #159697.
    13a32c91
To find the state of this project's repository at the time of any of these versions, check out the tags.