From a3a76edf8a0119ede9459811c3dd5f49145d8612 Mon Sep 17 00:00:00 2001 From: John Haddon Date: Wed, 7 Aug 2024 10:19:59 +0100 Subject: [PATCH] Context : Add clarifying comment --- include/Gaffer/Context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/Gaffer/Context.h b/include/Gaffer/Context.h index c9842164aca..b9bf6ce713d 100644 --- a/include/Gaffer/Context.h +++ b/include/Gaffer/Context.h @@ -193,6 +193,7 @@ class GAFFER_API Context : public IECore::RefCounted public : /// Constructing the Scope pushes the current context. + /// If context is `nullptr` then this is a no-op. Scope( const Context *context ); /// Destruction of the Scope pops the previously pushed context. ~Scope();