app: disable multi-threading on "gimp:shapeburst" operation.

This operation is currently broken on multi-thread. So disable
multi-threading, at least temporarily (if not forever since apparently
we can get similar output with "gegl:distance-transform", but much
faster and nicer). See bug 781621.
This commit is contained in:
Jehan 2018-03-13 18:20:16 +01:00
parent 7e6c93379b
commit 6f127f9db4
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ gimp_operation_shapeburst_class_init (GimpOperationShapeburstClass *klass)
operation_class->prepare = gimp_operation_shapeburst_prepare; operation_class->prepare = gimp_operation_shapeburst_prepare;
operation_class->get_required_for_output = gimp_operation_shapeburst_get_required_for_output; operation_class->get_required_for_output = gimp_operation_shapeburst_get_required_for_output;
operation_class->get_cached_region = gimp_operation_shapeburst_get_cached_region; operation_class->get_cached_region = gimp_operation_shapeburst_get_cached_region;
/* This operation is currently broken when multi-threaded.
* Cf. bug 781621. FIXME.
*/
operation_class->threaded = FALSE;
filter_class->process = gimp_operation_shapeburst_process; filter_class->process = gimp_operation_shapeburst_process;