From 44fcbc4257ad5ec121791995dc02a58722096f5d Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Thu, 19 Sep 2024 13:48:41 -0700 Subject: [PATCH] Simplify documentation --- source/MaterialXCore/Version.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/MaterialXCore/Version.cpp b/source/MaterialXCore/Version.cpp index db665c6db4..62f83a5660 100644 --- a/source/MaterialXCore/Version.cpp +++ b/source/MaterialXCore/Version.cpp @@ -1316,10 +1316,7 @@ void Document::upgradeVersion() } else if (nodeCategory == "normalmap") { - // ND_normalmap was renamed to ND_normalmap_float. - // But, there is also ND_normalmap_vector2 that was not renamed. - // The only difference between them is the "scale" input type - // (float and vector2, respectively), so use that as a test. + // ND_normalmap was renamed to ND_normalmap_float NodeDefPtr nodeDef = getShaderNodeDef(node); InputPtr scaleInput = node->getInput("scale"); if ((nodeDef && nodeDef->getName() == "ND_normalmap") ||