• Michael Natterer's avatar
    Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
    Michael Natterer authored
    ...in both the core and libgimp.
    
    Images now know what the default mode for new layers is:
    
    - NORMAL for empty images
    - NORMAL for images with any non-legacy layer
    - NORMAL_LEGAVY for images with only legacy layers
    
    This changes behavior when layers are created from the UI, but *also*
    when created by plug-ins (yes there is a compat issue here):
    
    - Most (all?) single-layer file importers now create NORMAL layers
    - Screenshot, Webpage etc also create NORMAL layers
    
    Scripts that create images from scratch (logos etc) should not be
    affected because they usually have NORMAL_LEGACY hardcoded.
    
    3rd party plug-ins and scripts will also behave old-style unless they
    get ported to gimp_image_get_default_new_layer_mode().
    e16c8a23
Name
Last commit
Last update
..
gfig-examples Loading commit data...
images Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
gfig-arc.c Loading commit data...
gfig-arc.h Loading commit data...
gfig-bezier.c Loading commit data...
gfig-bezier.h Loading commit data...
gfig-circle.c Loading commit data...
gfig-circle.h Loading commit data...
gfig-dialog.c Loading commit data...
gfig-dialog.h Loading commit data...
gfig-dobject.c Loading commit data...
gfig-dobject.h Loading commit data...
gfig-ellipse.c Loading commit data...
gfig-ellipse.h Loading commit data...
gfig-grid.c Loading commit data...
gfig-grid.h Loading commit data...
gfig-line.c Loading commit data...
gfig-line.h Loading commit data...
gfig-poly.c Loading commit data...
gfig-poly.h Loading commit data...
gfig-preview.c Loading commit data...
gfig-preview.h Loading commit data...
gfig-rectangle.c Loading commit data...
gfig-rectangle.h Loading commit data...
gfig-spiral.c Loading commit data...
gfig-spiral.h Loading commit data...
gfig-star.c Loading commit data...
gfig-star.h Loading commit data...
gfig-stock.c Loading commit data...
gfig-stock.h Loading commit data...
gfig-style.c Loading commit data...
gfig-style.h Loading commit data...
gfig-types.h Loading commit data...
gfig.c Loading commit data...
gfig.h Loading commit data...
notes.txt Loading commit data...