[Bf-blender-cvs] [3b0e908cc81] sybren-usd: BKE_anim: added comment to explain the matrix `DupliObject.mat`

Sybren A. Stüvel noreply at git.blender.org
Thu Jun 27 12:25:08 CEST 2019


Commit: 3b0e908cc812b4c2fbb0c8886b204cc7b50680ca
Author: Sybren A. Stüvel
Date:   Tue Jun 25 14:53:45 2019 +0200
Branches: sybren-usd
https://developer.blender.org/rB3b0e908cc812b4c2fbb0c8886b204cc7b50680ca

BKE_anim: added comment to explain the matrix `DupliObject.mat`

`DupliObject.mat` contains the world matrix of the duplicated object, and
this knowledge is now available in a comment.

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

M	source/blender/blenkernel/BKE_anim.h

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

diff --git a/source/blender/blenkernel/BKE_anim.h b/source/blender/blenkernel/BKE_anim.h
index dab76fb79f1..48d781eb415 100644
--- a/source/blender/blenkernel/BKE_anim.h
+++ b/source/blender/blenkernel/BKE_anim.h
@@ -73,7 +73,7 @@ void free_object_duplilist(struct ListBase *lb);
 typedef struct DupliObject {
   struct DupliObject *next, *prev;
   struct Object *ob;
-  float mat[4][4];
+  float mat[4][4]; /* World matrix of the duplicated object. */
   float orco[3], uv[2];
 
   short type; /* from Object.transflag */



More information about the Bf-blender-cvs mailing list