Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | typedef struct Object_Runtime { | ||||
| * Objects can evaluate to a geometry set instead of a single ID. In those cases, the evaluated | * 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 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 | * #geometry_set_eval might reference the ID pointed to by #data_eval as well, but does not own | ||||
| * the data. | * the data. | ||||
| */ | */ | ||||
| struct GeometrySet *geometry_set_eval; | struct GeometrySet *geometry_set_eval; | ||||
| /** | /** | ||||
| * Data from this geometry set is previewed in the spreadsheet editor. | * A GHash that contains geometry sets for intermediate stages of evaluation. The keys are just a | ||||
| * hash and are not owned by the map. The geometry sets are owned. | |||||
HooglyBoogly: Well, technically integer keys are "owned" by the map, since they're stored in it, right? It's… | |||||
Done Inline ActionsYou could argue that the integers are owned by map, but that argument does not seem to help anyone :D JacquesLucke: You could argue that the integers are owned by map, but that argument does not seem to help… | |||||
| */ | */ | ||||
| struct GeometrySet *geometry_set_preview; | void *geometry_set_previews; | ||||
| /** | /** | ||||
| * Mesh structure created during object evaluation. | * Mesh structure created during object evaluation. | ||||
| * It has deformation only modifiers applied on it. | * It has deformation only modifiers applied on it. | ||||
| */ | */ | ||||
| struct Mesh *mesh_deform_eval; | struct Mesh *mesh_deform_eval; | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 579 Lines • Show Last 20 Lines | |||||
Well, technically integer keys are "owned" by the map, since they're stored in it, right? It's just trivial ownership?
The point comes across though, no real need to change anything I don't think.