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. */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to