mirror of https://github.com/GNOME/gimp.git
Bug 790810 - Nested layer groups lead to a deadlock with multithreading
Temporarily disable multithreading for GimpOperationLayerMode, to avoid the deadlock. The environment variable GIMP_MULTITHREADED_COMPOSITING can be set to reenable it, for the sake of debugging.
This commit is contained in:
parent
d228e76ebe
commit
2ff52af5a9
|
@ -152,6 +152,10 @@ 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,
|
||||
|
|
Loading…
Reference in New Issue