Spinning Globe fails in gimp-2.99
Running Filters->Animation->Spinning Globe... in gimp-2.99 produces several CRITICALS:
(map-object:55959): LibGimpColor-CRITICAL **: 21:03:30.277: gimp_value_get_rgb: assertion 'GIMP_VALUE_HOLDS_RGB (value)' failed
(map-object:55959): GLib-GObject-CRITICAL **: 21:03:30.277: g_value_get_double: assertion 'G_VALUE_HOLDS_DOUBLE (value)' failed
(map-object:55959): GLib-GObject-CRITICAL **: 21:03:30.277: g_value_get_boolean: assertion 'G_VALUE_HOLDS_BOOLEAN (value)' failed
(map-object:55959): GLib-GObject-CRITICAL **: 21:03:30.277: g_value_get_double: assertion 'G_VALUE_HOLDS_DOUBLE (value)' failed
This is because in map-object-main.c when the plug-in is run non-interactively args are converted incorrectly:
lightsource.color
is extracted as the first argument
and following args are shifted by one til the radius
cylinder-radius
arguments that instead should be the same.
Attached a quick hack