[Bf-blender-cvs] [6ea9ce41721] temp-geometry-nodes-mesh-modifier: update comments

Jacques Lucke noreply at git.blender.org
Tue Dec 8 13:21:16 CET 2020


Commit: 6ea9ce417217cebcd666381ba7f8fa713a821c22
Author: Jacques Lucke
Date:   Tue Dec 8 12:25:30 2020 +0100
Branches: temp-geometry-nodes-mesh-modifier
https://developer.blender.org/rB6ea9ce417217cebcd666381ba7f8fa713a821c22

update comments

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

M	source/blender/makesdna/DNA_object_types.h

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

diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 71f67d8a3b4..da54cbcfcfd 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -152,12 +152,17 @@ typedef struct Object_Runtime {
   /**
    * Object data structure created during object evaluation.
    * It has all modifiers applied.
+   * The type of the data is the same as the data of the original object.
+   * So, if the original object was a mesh object, this will be a mesh.
+   * Other geometry components are stored in #geometry_set_eval.
    */
   struct ID *data_eval;
 
   /**
-   * Some objects support evaluating to a geometry set instead of a single ID. In those cases the
-   * evaluated geometry will be stored here instead of in #data_eval.
+   * Objects can evaluate to a geometry set instead of a single ID. In those cases, the evaluated
+   * geometry set will be stored here. An ID of the correct type is still stored in #data_eval.
+   * #geometry_set_eval might reference the ID pointed to by #data_eval as well, but does not own
+   * the data.
    */
   struct GeometrySet *geometry_set_eval;



More information about the Bf-blender-cvs mailing list