Commit: bcdbf76c57b4ac5808689759c2685a5e1e636465
Author: Falk David
Date:   Wed Feb 2 11:48:17 2022 +0100
Branches: greasepencil-object
https://developer.blender.org/rBbcdbf76c57b4ac5808689759c2685a5e1e636465

Add comments to DNA for BKE_*_copy_settings functions

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

M       source/blender/makesdna/DNA_gpencil_types.h

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

diff --git a/source/blender/makesdna/DNA_gpencil_types.h 
b/source/blender/makesdna/DNA_gpencil_types.h
index f939b71c0d8..3340782d64a 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -326,6 +326,8 @@ typedef struct bGPDstroke {
   /** Curve used to edit the stroke using Bezier handlers. */
   struct bGPDcurve *editcurve;
 
+  /* NOTE: When adding new members, make sure to add them to 
BKE_gpencil_stroke_copy_settings as well! */
+
   bGPDstroke_Runtime runtime;
   void *_pad5;
 } bGPDstroke;
@@ -410,6 +412,8 @@ typedef struct bGPDframe {
   /** Keyframe type (eBezTriple_KeyframeType). */
   short key_type;
 
+  /* NOTE: When adding new members, make sure to add them to 
BKE_gpencil_frame_copy_settings as well! */
+
   bGPDframe_Runtime runtime;
 } bGPDframe;
 
@@ -533,6 +537,8 @@ typedef struct bGPDlayer {
   float layer_mat[4][4], layer_invmat[4][4];
   char _pad3[4];
 
+  /* NOTE: When adding new members, make sure to add them to 
BKE_gpencil_layer_copy_settings as well! */
+
   bGPDlayer_Runtime runtime;
 } bGPDlayer;
 
@@ -729,6 +735,8 @@ typedef struct bGPdata {
 
   bGPgrid grid;
 
+  /* NOTE: When adding new members, make sure to add them to 
BKE_gpencil_data_copy_settings as well! */
+
   bGPdata_Runtime runtime;
 } bGPdata;

_______________________________________________
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