diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-10-02 14:34:39 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-10-02 14:40:42 +0300 |
commit | 8f1d3e14d9b472c00c1e537cc1e6e20b279d08e1 (patch) | |
tree | 5774c790515f530b8e4d6f5bd3c007c238d5f758 /source/blender/editors/gpencil/gpencil_intern.h | |
parent | e0a261c653cb158d940569c830f81a0c064da40e (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_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 4d62f834d86..3b797e7e4c8 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -291,20 +291,20 @@ void gpencil_point_to_parent_space(const bGPDspoint *pt, /** * Change position relative to parent object */ -void gpencil_apply_parent(struct Depsgraph *depsgraph, - struct Object *obact, - bGPDlayer *gpl, - bGPDstroke *gps); +void gpencil_world_to_object_space(struct Depsgraph *depsgraph, + struct Object *obact, + bGPDlayer *gpl, + bGPDstroke *gps); /** * Change point position relative to parent object */ /** * Change point position relative to parent object */ -void gpencil_apply_parent_point(struct Depsgraph *depsgraph, - struct Object *obact, - bGPDlayer *gpl, - bGPDspoint *pt); +void gpencil_world_to_object_space_point(struct Depsgraph *depsgraph, + struct Object *obact, + bGPDlayer *gpl, + bGPDspoint *pt); /** * generic based on gpencil_point_to_xy_fl |