[Bf-blender-cvs] [de60dc84e24] blender-v2.92-release: Fix: Build error with MSVC 2017
Ray Molenkamp
noreply at git.blender.org
Fri Jan 15 20:36:15 CET 2021
Commit: de60dc84e249b748105649da1a36b721e7f9f6af
Author: Ray Molenkamp
Date: Fri Jan 15 12:36:03 2021 -0700
Branches: blender-v2.92-release
https://developer.blender.org/rBde60dc84e249b748105649da1a36b721e7f9f6af
Fix: Build error with MSVC 2017
BKE_cryptomatte_extract_layer_name was using std::isdigit
without including <cctype> somehow only MSVC 2017 had a
problem with that.
===================================================================
M source/blender/blenkernel/intern/cryptomatte.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/cryptomatte.cc b/source/blender/blenkernel/intern/cryptomatte.cc
index 7ddc1474e09..ef7f5963bee 100644
--- a/source/blender/blenkernel/intern/cryptomatte.cc
+++ b/source/blender/blenkernel/intern/cryptomatte.cc
@@ -40,6 +40,7 @@
#include "MEM_guardedalloc.h"
+#include <cctype>
#include <cstring>
#include <iomanip>
#include <sstream>
More information about the Bf-blender-cvs
mailing list