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:
authorAntonio Vazquez <blendergit@gmail.com>2022-10-02 14:34:39 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-10-02 14:40:42 +0300
commit8f1d3e14d9b472c00c1e537cc1e6e20b279d08e1 (patch)
tree5774c790515f530b8e4d6f5bd3c007c238d5f758 /source/blender/editors/gpencil/gpencil_fill.c
parente0a261c653cb158d940569c830f81a0c064da40e (diff)
Cleanup: Rename functions
gpencil_apply_parent->gpencil_world_to_object_space gpencil_apply_parent_point->gpencil_world_to_object_space_point The old name was not descriptive enough.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_fill.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index 3f49ced16da..e288c6c4aca 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -2228,7 +2228,7 @@ static void gpencil_stroke_from_buffer(tGPDfill *tgpf)
/* if parented change position relative to parent object */
for (int a = 0; a < tgpf->sbuffer_used; a++) {
pt = &gps->points[a];
- gpencil_apply_parent_point(tgpf->depsgraph, tgpf->ob, tgpf->gpl, pt);
+ gpencil_world_to_object_space_point(tgpf->depsgraph, tgpf->ob, tgpf->gpl, pt);
}
/* If camera view or view projection, reproject flat to view to avoid perspective effect. */