[Bf-blender-cvs] [168091a1d63] master: Cleanup: Missing debug #ifdef for GPU_vertbuf_raw_step

YimingWu noreply at git.blender.org
Thu Jan 5 04:01:42 CET 2023


Commit: 168091a1d634092c38cd51b6df8f2696c0956812
Author: YimingWu
Date:   Thu Jan 5 11:01:32 2023 +0800
Branches: master
https://developer.blender.org/rB168091a1d634092c38cd51b6df8f2696c0956812

Cleanup: Missing debug #ifdef for GPU_vertbuf_raw_step

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

M	release/datafiles/locale
M	release/scripts/addons
M	release/scripts/addons_contrib
M	source/blender/gpu/GPU_vertex_buffer.h
M	source/tools

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

diff --git a/release/datafiles/locale b/release/datafiles/locale
index 4a581c54af9..7084c4ecd97 160000
--- a/release/datafiles/locale
+++ b/release/datafiles/locale
@@ -1 +1 @@
-Subproject commit 4a581c54af9b92cb670d750951b9382160f10f3e
+Subproject commit 7084c4ecd97d93459d9d23fd90f81589b09be5df
diff --git a/release/scripts/addons b/release/scripts/addons
index 0b0052bd53a..a9d4443c244 160000
--- a/release/scripts/addons
+++ b/release/scripts/addons
@@ -1 +1 @@
-Subproject commit 0b0052bd53ad8249ed07dfb87705c338af698bde
+Subproject commit a9d4443c244f89399ec4bcc427e05a07950528cc
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib
index 96143b1a8b0..bdcfdd47ec3 160000
--- a/release/scripts/addons_contrib
+++ b/release/scripts/addons_contrib
@@ -1 +1 @@
-Subproject commit 96143b1a8b037ea3c81f065f557025db9fe1ace3
+Subproject commit bdcfdd47ec3451822b21d1cff2ea2db751093c9a
diff --git a/source/blender/gpu/GPU_vertex_buffer.h b/source/blender/gpu/GPU_vertex_buffer.h
index d3c1bd8145d..979b7cc06cf 100644
--- a/source/blender/gpu/GPU_vertex_buffer.h
+++ b/source/blender/gpu/GPU_vertex_buffer.h
@@ -141,7 +141,9 @@ GPU_INLINE void *GPU_vertbuf_raw_step(GPUVertBufRaw *a)
 {
   unsigned char *data = a->data;
   a->data += a->stride;
+#ifdef DEBUG
   BLI_assert(data < a->_data_end);
+#endif
   return (void *)data;
 }
 
diff --git a/source/tools b/source/tools
index fdfa2fcb949..e1744b9bd82 160000
--- a/source/tools
+++ b/source/tools
@@ -1 +1 @@
-Subproject commit fdfa2fcb9495d87571f2dfe2ae9fa0e032536600
+Subproject commit e1744b9bd82527cf7e8af63362b61bd309b5711b



More information about the Bf-blender-cvs mailing list