[Bf-blender-cvs] [f90aeb0152a] temp-pbvh-split: temp-pbvh-split: Remove debug macro
Joseph Eagar
noreply at git.blender.org
Fri Jun 3 01:47:18 CEST 2022
Commit: f90aeb0152a4b2309ae4a97503c8fa84acdb4045
Author: Joseph Eagar
Date: Thu Jun 2 16:47:03 2022 -0700
Branches: temp-pbvh-split
https://developer.blender.org/rBf90aeb0152a4b2309ae4a97503c8fa84acdb4045
temp-pbvh-split: Remove debug macro
===================================================================
M source/blender/blenkernel/BKE_pbvh.h
===================================================================
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h
index bea99b81c0f..3df0c6bc12e 100644
--- a/source/blender/blenkernel/BKE_pbvh.h
+++ b/source/blender/blenkernel/BKE_pbvh.h
@@ -594,14 +594,3 @@ bool BKE_pbvh_draw_cache_invalid(const PBVH *pbvh);
#ifdef __cplusplus
}
#endif
-
-/* Disable optimization for a function (for debugging use only!)*/
-#ifdef __clang__
-# define ATTR_NO_OPT __attribute__((optnone))
-#elif defined(_MSC_VER)
-# define ATTR_NO_OPT __pragma(optimize("", off))
-#elif defined(__GNUC__)
-# define ATTR_NO_OPT __attribute__((optimize("O0")))
-#else
-# define ATTR_NO_OPT
-#endif
More information about the Bf-blender-cvs
mailing list