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:
authorJacques Lucke <jacques@blender.org>2020-05-25 12:39:52 +0300
committerJacques Lucke <jacques@blender.org>2020-05-25 12:39:52 +0300
commit1c467d77de7c693a183bda36a1dd196af2c05b81 (patch)
treec03b0fefbd64b0b0ff80b68fe215fbeb3079b07b /source/blender/editors/physics
parent528f0b95c4462b2e429600a566ca0434c90310f6 (diff)
Cleanup: typo
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index ca2dec75160..306adb36c52 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -5127,7 +5127,7 @@ void PE_create_particle_edit(
int totpoint;
if (psmd != NULL) {
- psmd_eval = (ParticleSystemModifierData *)BKE_modifiers_findny_name(ob_eval,
+ psmd_eval = (ParticleSystemModifierData *)BKE_modifiers_findby_name(ob_eval,
psmd->modifier.name);
}
@@ -5298,7 +5298,7 @@ static int particle_edit_toggle_exec(bContext *C, wmOperator *op)
* with possible changes applied when object was outside of the
* edit mode. */
Object *object_eval = DEG_get_evaluated_object(depsgraph, ob);
- edit->psmd_eval = (ParticleSystemModifierData *)BKE_modifiers_findny_name(
+ edit->psmd_eval = (ParticleSystemModifierData *)BKE_modifiers_findby_name(
object_eval, edit->psmd->modifier.name);
recalc_emitter_field(depsgraph, ob, edit->psys);
}