Subversion Repositories filter_foundry

Rev

Rev 536 | Rev 550 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 536 Rev 544
Line 95... Line 95...
95
                                gdata->obfusc = false;
95
                                gdata->obfusc = false;
96
                                return true;
96
                                return true;
97
                        }
97
                        }
98
                }
98
                }
99
 
99
 
-
 
100
                // Try to read the file as FFL file
-
 
101
                if (*reason == NULL) {
-
 
102
                        if (readfile_ffl(sfr,reason)) {
-
 
103
                                gdata->parmloaded = false;
-
 
104
                                gdata->obfusc = false;
-
 
105
                                return true;
-
 
106
                        }
-
 
107
                }
-
 
108
 
100
                // then try "Filters Unlimited" file (FFX)
109
                // then try "Filters Unlimited" file (FFX)
101
                if (*reason == NULL) {
110
                if (*reason == NULL) {
102
                        if (readfile_ffx(sfr,reason)) {
111
                        if (readfile_ffx(sfr,reason)) {
103
                                gdata->parmloaded = true;
112
                                gdata->parmloaded = true;
104
                                gdata->obfusc = false;
113
                                gdata->obfusc = false;
Line 113... Line 122...
113
                                gdata->obfusc = false;
122
                                gdata->obfusc = false;
114
                                return true;
123
                                return true;
115
                        }
124
                        }
116
                }
125
                }
117
 
126
 
-
 
127
                // Is it a "GIMP UserFilter (GUF)" file? (Only partially compatible with Filter Factory!!!)
-
 
128
                if (*reason == NULL) {
-
 
129
                        if (readfile_guf(sfr,reason)) {
-
 
130
                                gdata->parmloaded = true;
-
 
131
                                return true;
-
 
132
                        }
-
 
133
                }
-
 
134
 
118
                // Try Mac plugin resource
135
                // Try Mac plugin resource
119
                if (*reason == NULL) {
136
                if (*reason == NULL) {
120
                        if (readmacplugin(sfr,reason)) {
137
                        if (readmacplugin(sfr,reason)) {
121
                                if (gdata->parm.iProtected) {
138
                                if (gdata->parm.iProtected) {
122
                                        *reason = "The filter is protected.";
139
                                        *reason = "The filter is protected.";