From cf23227454939431f2310c813959e2d1649bff9e Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Tue, 12 Sep 2023 15:52:45 -0700 Subject: [PATCH] Clarify input name --- source/MaterialXRender/Mesh.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/MaterialXRender/Mesh.h b/source/MaterialXRender/Mesh.h index f2d46169a9..4359503ac6 100644 --- a/source/MaterialXRender/Mesh.h +++ b/source/MaterialXRender/Mesh.h @@ -275,16 +275,16 @@ class MX_RENDER_API Mesh /// Get a mesh stream by name /// @param name Name of stream - /// @param returnFallbackStream If true will attempt to return fallback stream if it does not exist. Default is false. + /// @param allowFallback If true will attempt to return fallback stream if it does not exist. Default is false. /// @return Reference to a mesh stream if found - MeshStreamPtr getStream(const string& name, bool returnFallbackStream = false); + MeshStreamPtr getStream(const string& name, bool allowFallback = false); /// Get a mesh stream by type and index /// @param type Type of stream /// @param index Index of stream - /// @param returnFallbackStream If true will attempt to return a fallback stream if it does not exist. Default is false. + /// @param allowFallback If true will attempt to return a fallback stream if it does not exist. Default is false. /// @return Reference to a mesh stream if found - MeshStreamPtr getStream(const string& type, unsigned int index, bool returnFallbackStream = false); + MeshStreamPtr getStream(const string& type, unsigned int index, bool allowFallback = false); /// Add a mesh stream void addStream(MeshStreamPtr stream)