[Bf-blender-cvs] [0ffddf997f8] refactor-mesh-uv-map-generic: Fixed a missed 64 to 68 for something that needs to store layer names

Martijn Versteegh noreply at git.blender.org
Wed Jan 4 12:57:12 CET 2023


Commit: 0ffddf997f81415d7b56f91864120e9347529d42
Author: Martijn Versteegh
Date:   Wed Jan 4 12:27:43 2023 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rB0ffddf997f81415d7b56f91864120e9347529d42

Fixed a missed 64 to 68 for something that needs to store layer names

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

M	source/blender/gpu/GPU_material.h

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

diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h
index ce70c60c04e..f9bae39b016 100644
--- a/source/blender/gpu/GPU_material.h
+++ b/source/blender/gpu/GPU_material.h
@@ -362,8 +362,8 @@ typedef struct GPULayerAttr {
   struct GPULayerAttr *next, *prev;
 
   /* Meaningful part of the attribute set key. */
-  char name[64]; /* MAX_CUSTOMDATA_LAYER_NAME */
-  /** Hash of name[64]. */
+  char name[68]; /* MAX_CUSTOMDATA_LAYER_NAME */
+  /** Hash of name[68]. */
   uint32_t hash_code;
 
   /* Helper fields used by code generation. */



More information about the Bf-blender-cvs mailing list