Fix 10170

Changes only to ScriptFu.

The third term (the default) of a SF-FONT etc. spec is now ignored.

Test case is SF>Test>Sphere.  There are still crashing issues
related but separate.
This commit is contained in:
bootchk
2023-09-26 13:19:17 -04:00
committed by Lloyd Konneker
parent 414f9f9abf
commit 355f665403
7 changed files with 180 additions and 278 deletions

View File

@ -1283,6 +1283,8 @@ script_fu_marshal_procedure_call (scheme *sc,
* ID's are unique across all instances of Resource.
*/
resource = gimp_resource_get_by_id (resource_id);
if (resource == NULL)
g_warning ("%s: passing null Resource, invalid ID.", G_STRFUNC);
g_value_set_object (&value, resource);
}