private void applyTintedDrawableSettings(DrawableData drawable, String name) {
        String oldName = drawable.name;
        drawable.name = name;

        undoableManager.clearUndoables();
        updateStyleValuesForRename(oldName, name);
        
        rootTable.refreshStyleProperties(true);
        atlasData.produceAtlas();
        rootTable.refreshPreview();
        
        projectData.setChangesSaved(false);
        
        sortBySelectedMode();
    }
Recreates the drawables array only including visible drawables.
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java