Skip to content
  • Michael Natterer's avatar
    when saving a curve of type GIMP_CURVE_FREE, don't use · 97b8f510
    Michael Natterer authored
    2008-10-09  Michael Natterer  <mitch@gimp.org>
    
    	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_save_cruft):
    	when saving a curve of type GIMP_CURVE_FREE, don't use
    	gimp_curve_get_point() because that returns nothing for free
    	curves.
    
    	(gimp_curves_config_load_cruft): reset the curve before loading it.
    
    	* app/core/gimpcurve.c (gimp_curve_get_point): instead of above
    	mentioned uninitialized nonsense, at least return -1,-1 for free
    	curves.
    
    
    svn path=/trunk/; revision=27190
    97b8f510