diff --git a/Changes.md b/Changes.md index 1dd2a641ede..2d73f0a5a62 100644 --- a/Changes.md +++ b/Changes.md @@ -11,6 +11,7 @@ Fixes - Viewer : - Fixed visualisation of Cycles point light size. - Fixed visualisation of Arnold light gobo textures with scaled UV coordinates. +- Dispatch App : Fixed bug that prevented setting specific dispatcher plug values from the command line (#5434). 1.2.10.1 (relative to 1.2.10.0) ======== diff --git a/apps/dispatch/dispatch-1.py b/apps/dispatch/dispatch-1.py index 0fb507b4772..5d2d8865a21 100644 --- a/apps/dispatch/dispatch-1.py +++ b/apps/dispatch/dispatch-1.py @@ -186,7 +186,10 @@ def _run( self, args ) : return 1 if args["gui"].value and len(args["alternateDispatchers"]) : - dispatchers.extend( GafferDispatch.Dispatcher.createMatching( " ".join( args["alternateDispatchers"] ) ) ) + pattern = " ".join( args[ "alternateDispatchers" ] ) + for name in GafferDispatch.Dispatcher.registeredDispatchers() : + if name != dispatcherType and IECore.StringAlgo.matchMultiple( name, pattern ) : + dispatchers.append( GafferDispatch.Dispatcher.create( name ) ) dispatcherNames = {} for dispatcher in dispatchers :