Subversion Repositories filter_foundry

Rev

Rev 536 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 536 Rev 550
Line 1... Line 1...
1
/*
1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.net
4
    Copyright (C) 2018-2022 Daniel Marschall, ViaThinkSoft
4
    Copyright (C) 2018-2023 Daniel Marschall, ViaThinkSoft
5
 
5
 
6
    This program is free software; you can redistribute it and/or modify
6
    This program is free software; you can redistribute it and/or modify
7
    it under the terms of the GNU General Public License as published by
7
    it under the terms of the GNU General Public License as published by
8
    the Free Software Foundation; either version 2 of the License, or
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
9
    (at your option) any later version.
Line 478... Line 478...
478
 
478
 
479
void recalc_preview(FilterRecordPtr pb, DIALOGREF dp) {
479
void recalc_preview(FilterRecordPtr pb, DIALOGREF dp) {
480
        // TODO? When a formula has an error, the preview should not be changeable
480
        // TODO? When a formula has an error, the preview should not be changeable
481
        // (This code does not work because you can still try to zoom)
481
        // (This code does not work because you can still try to zoom)
482
        /*
482
        /*
483
        if (!gdata->standalone) {
483
        if (!gdata->parm.standalone) {
484
                int i;
484
                int i;
485
                for (i = 0; i < 4; i++)
485
                for (i = 0; i < 4; i++)
486
                        if (!parseexpr(expr[i])) return;
486
                        if (!parseexpr(gdata->parm.szFormula[i])) return;
487
        }
487
        }
488
        */
488
        */
489
 
489
 
490
        if (HAS_BIG_DOC(pb)) {
490
        if (HAS_BIG_DOC(pb)) {
491
                recalc_preview_bigdoc(pb, dp);
491
                recalc_preview_bigdoc(pb, dp);