Bug 790810 - Nested layer groups lead to a deadlock with multithreading
Use gimp:buffer-source-validate, introduced in the previous commit, for the source node of GimpDrawables. This avoids threading issues with layer groups, or any other drawables that may use a validating buffer, by making sure the buffer is validated before any succeeding operations, and hence the associated graph is processed on the same thread as the parent composition. Restore multithreaded processing in GimpOperationLayerMode.
This commit is contained in:
@ -152,10 +152,6 @@ gimp_operation_layer_mode_class_init (GimpOperationLayerModeClass *klass)
|
||||
klass->process = gimp_operation_layer_mode_real_process;
|
||||
klass->get_affected_region = NULL;
|
||||
|
||||
/* XXX: temporarily disable multithreaded compositing. see bug #790810. */
|
||||
if (! g_getenv ("GIMP_MULTITHREADED_COMPOSITING"))
|
||||
operation_class->threaded = FALSE;
|
||||
|
||||
g_object_class_install_property (object_class, PROP_LAYER_MODE,
|
||||
g_param_spec_enum ("layer-mode",
|
||||
NULL, NULL,
|
||||
|
Reference in New Issue
Block a user