Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-30 11:24:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-30 11:24:54 +0300
commitd70970520370532b92213cfbf9813704fd45a602 (patch)
treed52dd2a0269532e05ff7f47e07866d49f0808228 /source/blender/editors
parent301a27187c83e0ea45fa51dd550e7d6978f34828 (diff)
Cleanup: Naming, match policy with rest of copy-on-write design
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/physics/particle_object.c2
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c
index 55f518a2a8c..fd136944ee9 100644
--- a/source/blender/editors/physics/particle_object.c
+++ b/source/blender/editors/physics/particle_object.c
@@ -1044,7 +1044,7 @@ static bool copy_particle_systems_to_object(const bContext *C,
psys_start = totpsys > 0 ? tmp_psys[0] : NULL;
/* get the DM (psys and their modifiers have not been appended yet) */
- /* TODO(Sybren): use mesh_evaluated instead */
+ /* TODO(Sybren): use mesh_eval instead */
DerivedMesh *final_dm = mesh_get_derived_final(depsgraph, scene, ob_to, cdmask);
final_mesh = BKE_id_new_nomain(ID_ME, NULL);
DM_to_mesh(final_dm, final_mesh, ob_to, CD_MASK_EVERYTHING, false);
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index b2f3c49cb00..594fbbd04d4 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -459,7 +459,7 @@ void paint_sample_color(bContext *C, ARegion *ar, int x, int y, bool texpaint_pr
if (ob) {
Mesh *me = (Mesh *)ob->data;
- Mesh *me_eval = BKE_object_get_evaluated_mesh(depsgraph, ob); /* Or shall we just do ob_eval->mesh_evaluated ? */
+ Mesh *me_eval = BKE_object_get_evaluated_mesh(depsgraph, ob); /* Or shall we just do ob_eval->mesh_eval ? */
ViewContext vc;
const int mval[2] = {x, y};