[Bf-blender-cvs] [6c16c2c233e] master: MSVC: Fix BlendThumb debug build.

Ray Molenkamp noreply at git.blender.org
Fri Aug 30 21:28:03 CEST 2019


Commit: 6c16c2c233e3edcf6801c9de08c26ad3159c8297
Author: Ray Molenkamp
Date:   Fri Aug 30 13:27:56 2019 -0600
Branches: master
https://developer.blender.org/rB6c16c2c233e3edcf6801c9de08c26ad3159c8297

MSVC: Fix BlendThumb debug build.

Spotted by @deadpin on chat

===================================================================

M	source/blender/blendthumb/src/BlenderThumb.cpp

===================================================================

diff --git a/source/blender/blendthumb/src/BlenderThumb.cpp b/source/blender/blendthumb/src/BlenderThumb.cpp
index 553428d5b5d..1067e42c5b9 100644
--- a/source/blender/blendthumb/src/BlenderThumb.cpp
+++ b/source/blender/blendthumb/src/BlenderThumb.cpp
@@ -269,8 +269,8 @@ IFACEMETHODIMP CBlendThumb::GetThumbnail(UINT cx, HBITMAP *phbmp, WTS_ALPHATYPE
 			LONG NewHeight = (LONG)(height *scale);
 
 #ifdef _DEBUG
-#if 1
-			MessageBox(0,L"Attach now",L"Debugging",MB_OK);
+#if 0
+			MessageBox(0,"Attach now","Debugging",MB_OK);
 #endif
 #endif
 			IWICImagingFactory *pImgFac;



More information about the Bf-blender-cvs mailing list